Round 1
Questions:
- Questions were from the Resume and from the projects/features I have worked. Scalability, Design Patterns were involved.
- LeetCode Problem: Restore IP Addresses
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Round 2
Questions:
- A backend API that retrieves records from a database is becoming increasingly slow as the database grows. How to mitigate this? Expected answer in terms of query optimisation.
- Your API is being hit by a high volume of requests from a single client, impacting other users. How to mitigate this? Expected answer in terms of best fit Rate limiting algo.
- A system with multiple threads occasionally hangs due to deadlocks, and some operations fail due to race conditions. How to mitigate this? How to deduct the deadlock first?
- A backend system occasionally fails in production, but the logs don't provide enough information to debug the issue. How to redesign the logging mechanism? How many types of logs?
- Your service allows users to upload large files, but users report failed uploads when the file size exceeds a certain threshold. How to design a service which accepts large files (say 10GB) from multiple users(say 1 million users)?
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.