Technical Interview Questions

Sort: Popular Date
Sort: Popular Date

Assistant Trader at Five Rings Capital

Jan 27, 2011
 “You are standing beside a road watching cars pass by. The probability that you see a car pass by in 1 minute is 1/4. What is the probability that you see a car pass by in 30 seconds?”

Software Development Engineer at Amazon.com

Dec 17, 2009
 “What are the first 2 integers that, when added together, equal 10 in a "very large" array of unsigned integers?”

Apr 27, 2013
 “Given a series of words written using a scrambled alphabet, figure out what order the letters of the alphabet are in.”

Aug 15, 2012
 “What is the output?int n = 1;puts(((char*)&n)[0]==1?"Y":"N");”

Jan 24, 2010
 “Given a stream of integers of unknown (possibly large) length, how would you pick one at random? Now prove its random.”

Software Development Engineer In Test at Amazon.com

Jan 27, 2012
 “Asked to implement a function that takes an integer and returns whether or not the number had an odd or even number of 1 bits.”

Apr 27, 2012
 “Write a program that given 4 coin denominations and a dollar amount finds the best way to express that amount using the coins given.I.e. you have coins with denominations of 1c, 7c, 13c,19c and you…”

Senior Software Engineer at Microsoft

Mar 18, 2009
 “Given a set of people, one of them is a celebrity. You have a 2D array which describes which people know each other, that is [N, M] is true if N knows M. The celebrity will not know anyone (except…”

Software Development Engineer In Test (SDET) at Expedia

Apr 18, 2012
 “Describe and code an algorithm that returns the first duplicate character in a string?”

Apr 27, 2012