Amazon Interview Report
- 0of 0 votes
AnswersGiven ~300k words with an average length of 7 in a file.
- JSDUDE October 27, 2014 in United States
All words are dictionary correct words.
Print all the anagrams that are present in this list of words without repeating them.
E.g. if the list has:
ACT
BAT
CAT
TAB
TAC
print:
ACT, CAT, TAC
BAT, TAB| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Algorithm Data Structures - 2of 2 votes
AnswersDesign a vending machine
- JSDUDE October 27, 2014 in United States| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design - 0of 0 votes
AnswersGiven a sorted array with some sequenced numbers and some non-sequenced numbers. Write an algorithm that takes this array as an input and returns a list of {start, end} of all consecutive numbers. Consecutive numbers have difference of 1 only.
E.g. of array:
[4, 5, 6, 7, 8, 9, 12, 15, 16, 17, 18, 20, 22, 23, 24, 27]
- JSDUDE October 27, 2014 in United Statespublic class Range { private int begin; private int end; public int begin { get; set; } public int end { get; set; } }
| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Arrays - -1of 1 vote
AnswersDesign the algorithm and the system for a WebCrawler.
- JSDUDE October 27, 2014 in United States
The webcralwler will be provided millions of URLs. The webpage will be downloaded and then parsed for more URLs. If more URLs are found then they should also be downloaded and parsed.
He was interested in:
1. Scale to handle millions of URLs
2. What are the bottle necks in the system? How will you resolve them| Report Duplicate | Flag | PURGE
Amazon Software Engineer / Developer Object Oriented Design