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 Kong3 4203
The hands of clock coincide after every 66 min of correct time. How much does the clock gain or lose in a day.
can TDS be deducted(in Jharkhand) from the bill of a supplier who supplies goods from Delhi to Jharkhand taxable @12.5% under jharkhand VAT ACT?Whether Entry tax is also deductible in this case
Can you run the process by login agent runtime resource?
How do I delete multiple items in word?
JMX stands for?
What is iis in windows server?
How would you use Bubble Sort to sort the number of elements?
What is a table called in database?
What are availability zones?
How were the reports scheduled and how to resolve unexecuted documents?
What is accuracy machine learning?
Explain the various authentication mechanisms in asp.net.
how to do aggregation (year wise quantity ) using only source qualifier, the source is sql server date as datetime data type and target as flat file with year (string datatype)
What are All kind of access specifiers for a class and for methods
What are apex unit tests?