Interview started with introduction, took approximately 5 mins.
Next, there were five scenario based questions for system design which were allocated 20 minutes. I remember only 3 of them.
-
There is a mobile game for which we have a library which analyze the completed games and provide suggestions to the user. We can either store that library in our client's phone or on a server which can compute and analyze. Discuss advantages and disadvantages of both.
-
We are working on a photo storage application. Your task is to come up with estimates for storage for the next year. Which information would you consider for coming up with estimate.
-
We have machines across geographic locations around the world. Every midnight each machine will emit analytics if there are any issues with it. At 1 AM we patch the servers based on these analytics. What problems do you see in this design?
I do not remember the other two questions.
After these I was asked to solve coding questions in 30 mins.
- https://leetcode.com/problems/subdomain-visit-count/solution/
- Second question was to find longest contiguous subsequence, similar to https://leetcode.com/discuss/interview-question/460449/Longest-Contiguous-Sequence
I was unable to complete the second question however was very close to completion, interviewer got the idea about the solution of the problem. I am yet to hear result for this interview.
Thanks for reading, happy coding.
Cheers


