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 5288HI everyone, I am commerce graduate, completed MBA Finance in Distinction. I would like to do FI/CO. Could any one of you please suggest, which is the best instistute for FI/CO training in Hyderabad. Compulearn, Reliance, or other. Thanks in advance Rupa Gupta
4 5783
Can a class in java be inherited from more than one class?
Is Visio a UML tool?
What is the difference between a class and a structure?
Which of the following is constraint chat you might find during the Organizational Planning process? A. Organizational structure, expected staff assignments, collective bargaining agreements, and project management team preferences B. Organizational structure, organizational interfaces, technical interfaces, and interpersonal interfaces C. Organizational interfaces, expected staff assignments, collective bargaining agreements, and project management team preferences D. Organizational interfaces, technical interfaces, and interpersonal interfaces
Is mvc is a design pattern?
Given the requirements, how will you go about designing them? How will you convert business info to technical info?
Can an interface inherit from another interface?
What is the difference between web api and mvc routing?
Can different parts of a partial class inherit from different interfaces?
Which of the following processes serve as inputs to each other? A. Executing and Controlling B. Planning and Executing C. Planning and Controlling D. Executing and Initiation
What is meant by inheritance? what are the advantages of inheritance?
What is the need of UML diagrams?
What are the foundational pillars of devops testing?
What are some examples of activities and surroundings that motivate you?
What are abstract classes?