Exactly 60 mins Interview
2 Theory questions [To be solved in 10 mins - 5 mins each]
-
Facebook question - find number of friends given tables 'Users' and 'User_relationship' with indexes mentioned
Just asked to give approach, I gave SQL query as well. -
Given Architecure of Google Docs with some pointers (dont exactly remember):
- Multiple user can access and edit single doc.
- Every doc will be served by a dedicated single server.
- One server can serve many documents.
- Load Balancer following Round Robin Strategy.
Open Ended Question, didn't ask anything in specific :
- Q. What are your thoughts on this architecture?
- Q. What are some scenarios that can happen and what might be a good solution for that?
- Coding Questions - https://leetcode.com/problems/text-justification/ (not exactly this but modification of this question)
Was able to solve this questions with all cases passing with just 2 mins remaining (max 45 min for this qs), then talked a little about time complexity and just chatted with the interviewer.
Result - Got Rejection email after 2 days :)
Comments (3)


