They gave me the below question to solve in 30 mins. Based on customer research, we know that our guests get confused when they are searching for accommodation and they found multiple hotels with the same name in the same city. To avoid this, we want to create a tool to identify "confusing" cities: cities with at least 3 hotels with the same name. Given a list of tuples (hotel_id, hotel_name, city) return a list of all "confusing" cities. Input: [ {hotel_1234, "Sheraton", "Amsterdam"} , {hotel_1000, "Sheraton", "Buenos Aires"} , {hotel_1001, "Hilton", "Amsterdam"} , {hotel_1002, "Royal Palace", "Bogota"} , {hotel_1003, "Hilton", "Amsterdam"} , {hotel_1004, "Sheraton", "Buenos Aires"} , {hotel_1005, "Sheraton", "Buenos Aires"} ] Output: [ "Buenos Aires" ]
Site Lead Interview Questions
2,876 site lead interview questions shared by candidates
In which class do you read?
What is welding ?
What is an I-Beam ?
What happens when I type "ps" into a UNIX prompt?
Asked if I was only interested in the position for short term gain and would be moving on real quick.
Can you believe in me as the "Messiah" ?
Why Should we hire you
what is the load capacity per square meter for different type of formwork system?
What is something your old co workers would say about you about work?
Viewing 1 - 10 interview questions
See Interview Questions for Similar Jobs
Data Center Facilities TechnicianData Center FacilitiesDatacenter Operations EngineerData Center Operations EngineerDatacenter EngineerDatacenter TechnicianData Center Operations TechnicianSenior Data Center TechnicianData Center OperatorFurnace OperatorComputer Operator IiEricsson Oss EngineerData Centre Operations EngineerFacilities TechnicianData Cabling EngineerDatacenter Operations TechnicusPipeData Center Engineer