# Algorithm Interview Questions

Sort: Popular Date
Sort: Popular Date

Apr 24, 2011
 “Given a string, remove all the duplicate characters (not necessarily consecutive)”

### Contract Ruby On Rails Software Engineer at LinkedIn

Jan 27, 2012
 “Describe a routine which returns the set of integers in {1..100} divisible without remainder by 3 but not by 9.”

Apr 24, 2011
 “Convert a binary search tree to a sorted, circular, doubly-linked list, in place (using the tree nodes as the new list nodes).”

### Data Scientist Intern at LinkedIn

Feb 25, 2012
 “Find the second largest element in a Binary Search Tree”

Mar 26, 2012
 “Implement the "see and tell" algorithm with a given seed number x and a number of iterations y. Output the result on iteration y”

Aug 16, 2010
 “There are n pots with different # gold coins in them. Two players play a game, where each player can select a pot at either ends. maximize the gold”

### Software Engineer at Amazon.com

Dec 24, 2011
 “If you have a file containing millions of integers, how would you sort the data in the file using extremely limited resources, such a s 1GB of memory?”

### Software Engineer at Amazon.com

May 12, 2010
 “Given a list of integers, some of which may be negative, extract the pair that sums to the largest number.”

### Software Development Engineer at Amazon.com

Jan 14, 2010
 “How would you find the pairs of numbers that added to some specific number in an array.”