The first 15 min the interviewer asked me some behavioral questions according to leadership principles. Then I was given a code question, which is find the number that exists only once while others exists twice, and followed up 3 times. Finally I had 5 min to ask questions about the interviewer and Amazon