Amazon Interview Report
- 0of 0 votes
AnswersWrite an algorithm to check if a tree is binary search tree
- Lyubomir December 21, 2012 in UK for Love Film| Report Duplicate | Flag | PURGE
Amazon Developer Program Engineer Algorithm - 0of 0 votes
AnswersIf we have a very big text file which contains millions of lines of code. On every line there is a one word. We also have a random generator which returns a number between 0 and 1. When we have 1 - this will corresponds to the last line of the file. When we have 0 - to the first one. We want an algorithm which tells as the word (the line) which corresponds to the generated number.
- Lyubomir December 21, 2012 in UK for Love Film| Report Duplicate | Flag | PURGE
Amazon Developer Program Engineer
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.