Design an alert system. You have 500,000 hotels you represent, and about 250,000 are visited each day. You want to track hotel page visits such that, if more than 10 visitors per a) 5 minutes, b) 1 hour, and c) 24 hours occur, then a (different for each time period) "alert" appears when someone visits one of those "hot" hotel pages. Don't worry about the UI part, just design the underlying alert system. Then optimize your solution for space.
Senior Software Interview Questions
75,489 senior software interview questions shared by candidates
Hardest things to unit test
Given a tree of child/parent relationships, write an algorithm to find common parent
They asked me not to reveal any questions.
How to convert an Optional string to integer without throwing exception
Given a string of the form: "{Valery,Jason,Peter} was in {good,bad} mood and he went to the {beach, party, library}"; Print out all the permutations of the string. Eg: Valery was in good mood and he went to the beach.
A few other questions like what is CORS, delegation, do I have a styling standard.
Giving array of words and user can input any letters. Write a function that returns all possible words that start with the input string. They are looking for optimum solution.
Knapsack problem with a twist that you can take any number of sacks of a given weight.
Create a cache with fast look up that only stores the N most recently accessed items.
Viewing 81 - 90 interview questions