Amazon Interview Report
- 0of 0 votes
AnswerGive a connected graph, no cycle,
- ajay.raj May 01, 2018 in United States
Find the node where the average distance from all other nodes is the smallest| Report Duplicate | Flag | PURGE
Amazon SDE1 - 0of 0 votes
Answers<key = "a"; val = "3"; depend_list = null;/>; <key = "b"; val = "a * a";
- ajay.raj May 01, 2018 in United States
Depend_list = {a};/>; <key = "c"; val = "a * b"; depend_list = {a,b};/>;
Lets output a map<key, value>,a -> 3, b -> 9, c -> 27
Follow-up questions: Make a statistic for all keys and corresponding map entries with the same value.| Report Duplicate | Flag | PURGE
Amazon SDE1 - 0of 0 votes
AnswerInput: an int array without sorting, then do a binary search on it, and find the number of digits that cannot be found by binary search.
- ajay.raj May 01, 2018 in United States| Report Duplicate | Flag | PURGE
Amazon SDE1
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.