# Coding Interview Questions

Sort: Popular Date
Sort: Popular Date

Feb 23, 2010
 “How would you write a sort routine to ensure that identical elements in the input are maximally spread in the output?”

### Software Development Engineer at Amazon.com

Jul 15, 2010
 “Given array of integers, find the first pair add up to 10. Analize your solution.”

### Software Engineer at VMware

Oct 28, 2013
 “You are given a dictionary, such as /usr/share/dict/words, containing a list of words, one per line. You are also given seven tiles. Each tile is either blank or contains a single lowercase letter...”

### Software Engineer Internship at Amazon.com

Apr 16, 2011
 “How would you count the number of words in a string consisting of uneven number of spaces between words( not dictionary words)? With and without library functions.”

### Software Developer Intern at Expedia

Aug 27, 2012
 “Give me 5 different ways of finding the median (middle element) of a linked list. For the sake of simplicity, assume the list has odd number of ints. Also mention the runtime for each. Follow up...”

### Senior Software Engineer, Architect at Netflix

Nov 10, 2011
 “How does a garbage collection system work? How will you prevent an object from being garbage collected? Write N-ary tree traversal code to search a node given a String key. How many JVM...”

### Software Engineer at VideoEgg

Sep 14, 2010
 “implement sort(int a, int b, int c) in Java w/o using any Collections methods”

### Software Development Engineer at Amazon.com

Jul 15, 2010
 “Given array of integers representing historic stock prices. Find the buying and selling points to maximize the profit. (original: You can hold the stock for only 30 days maximum.)”

### Test Engineer at Qualcomm

Nov 19, 2010
 “Write strcpy (string copy). What test cases would you have? Write strrev (string reverse) in place. (temp char is fine)”

### Embedded Analyst at Palantir Technologies

Feb 8, 2012
 “Find a min and max in an array of integers.”
1120 of 73 Interview Questions