Round 1
Questions:
- Duplicates within the k range.
It was like I needed to check if the element repeats with the next k elements or not. - Trapping rain water.
- Was given string like this 👉 "Service1 - API1- 10 Service2 - API1- 8 Service3 - API2- 8 Service2 - API2- 12 Service2 - API3– 5", and was asked to calculate the average latency for each API.
Candidate's Approach
No approach provided.
Interviewer's Feedback
The round lasted for around 1 hour and 40 minutes. For the first question, the interviewer was looking for some specific solution.
Round 2
Questions:
- What APIs have you worked on in the current project?
- Implementation of SET using primitive datatypes.
- How to create an idempotent POST API?
Candidate's Approach
No approach provided.
Interviewer's Feedback
Solved everything, the round lasted for around 40 minutes only.
Round 3 (HM Round)
Questions:
- Design some generic API that would serve multiple requests.
- Difference between PUT and POST.
- Difference between HTTP and HTTPS, what makes HTTPS more secure.
- How do you optimize SQL queries?
- A variation in the COIN CHANGE problem, needed just an approach to solve the question.
- What should be the ideal number of partitions?
Candidate's Approach
No approach provided.
Interviewer's Feedback
Got around 80% of the correct answers.