Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

Google Software Design AllOther Interview Questions
Questions Answers Views Company eMail

I would like to submit the following question I was asked recently during my technical interview at Google. I'm rephrasing the question to make it clear for everyone to understand: - You are going on a one-way flight trip that includes billions of layovers. - You have 1 ticket for each part of your trip (i.e: if your trip is from city A to city C with a layover in city B, then you will have 1 flight ticket from city A to city B, and 1 flight ticket from city B to city C. - Each layover is unique. You are not stopping twice in the same city. - You forgot the original departure city. - You forgot the final destination city. - All the tickets you have are randomly sorted. Question are: - Design an algorithm to reconstruct your trip with minimum complexity. - How would you improve your algorithm. Example: - randomly sorted: New York->London San Francisco-> Hong Kong Paris->New York London->San Francisco - sorted: Paris->New York New York->London London->San Francisco San Francisco-> Hong Kong

3 4518

Post New Google Software Design AllOther Interview Questions




Google Software Design AllOther Interview Questions


Un-Answered Questions

Which is faster c++ or python?

193


Is mysql same as mariadb?

204


What is hyperlink? Why it is used?

198


What procedure import workflow in maximo 7.1

1


How Switch (select or use) to a database.

266






Why do we do clustering?

243


Explain working of francis turbine?

318


Do you have to pay for microsoft word every year?

138


when will give ta

1247


Why css is called cascading?

70


What is the use of profile paramater ztta/roll_area?

306


What is ispostback property?

224


Explain the importance of finally over return statement?

303


What are the different phases of a maven build lifecycle?

59


What command is used to run a grails application?

1