Senior software engineer interview questions shared by candidates
Find the largest sum of contiguous numbers in an array
Are you sure?! If this is the question then just add all numbers of the array lol.
What about negative numbers in the array - you can't just sum it up
Good point! In that case, just iterate over the array and: 1) n 0, add 3) next time you encounter n <=0, compare with the current max number and assign the new sum if larger.
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.
See Interview Questions for Similar Jobs
- Software Engineer
- Software Developer
- Java Developer
- Technical Lead
- Software Development Engineer
- Associate Software Engineer
- Software Development Engineer II
- Senior Consultant
- Project Manager
- Senior Software Developer
- Business Analyst
- Senior Engineer
- Software Engineer II
- Applications Developer
- Senior Software Development Engineer