Google Interview Report
- 1of 1 vote
AnswersThere are many tourist sites and each has their own holiday. If you arrive there during the holiday, you can gain one gift. It costs you many hours Wij traveling from site_i to site_j. What's more, you can only travel once in one week. Now you are initially placed in one site, how do you plan your routine in this year to gain most gifts.
- yoyiyoshi November 14, 2014 in United States| Report Duplicate | Flag | PURGE
Google - 1of 1 vote
AnswersGiven a BST and a number x, find two nodes in the BST whose sum is equal to x. You can not use extra memory like converting BST into one array and then solve this like 2sum.
- yoyiyoshi November 14, 2014 in United States| Report Duplicate | Flag | PURGE
Google
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.