Like others said - keep trying. I was rejected by both companies once, and now I work for Amazon. You get better with time.
Also, both companies have quite different styles of interviews (whiteboard programming aside). Really pay attention to what the recruiters suggest to study up before the interview.
Also, both companies have quite different styles of interviews (whiteboard programming aside). Really pay attention to what the recruiters suggest to study up before the interview.