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
1,598 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?
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?
Describe a time you had a conflict with a co-worker and how did you resolve it.
Q: Write a program which prints out all numbers between 1 and 100. When the program would print out a number exactly divisible by 4, print "Linked" instead. When it would print out a number exactly divisible by 6, print "In" instead. When it would print out a number exactly divisible by both 4 and 6, print "LinkedIn."
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