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 4115

Post New Google Software Design AllOther Interview Questions




Google Software Design AllOther Interview Questions


Un-Answered Questions

What are the limitations of title and description tags?

105


What is dynamo?How it works and what is the function of dynamo in a DG.

1059


What is mean by data types in c?

76


Why is stored procedure faster than query?

71


What is called Cognos powerplay?

134






How can I delete old windows?

77


Which type of energy is the light used in photosynthesis transformed.

9


What is html lang en?

62


earth also having a gravitational force (magnetic field of north and south)but it attracts any object compare to this theartifical magnetic cant perform same as earth why?

875


What are the advantages of using formula in excel sheet?

3


Which join is like an inner join?

73


how to size H.T & L.T Panel ?

1062


public class ActionSearchBean extends GenericSearchBean { @Override public String search() { data.setRowCount(null); if(data.getRowCount()==0){ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } return "searchAction"; } @Override public String clear() { data.setRowCount(null); if (data.getRowCount() > 0){ data.getNoRecordFound().setRendered(false); data.getDataScroller().setRendered(true); }else{ data.getNoRecordFound().setRendered(true); data.getDataScroller().setRendered(false); } data.setModel(new ActionDTO()); data.setRowCount(null); return "searchAction"; } } what is the purpose of @Override ...what will do @Override here ?

1601


What are the benefits of ordbms?

132


Explain the term reconciliation?

15