1st Round : 2 Easy LC questions
2nd (LLD Round) : Design StackOverflow
3rd Round (HLD round)
Interviewer started with some Srping Boot questions; then asked me to design truecaller with following constraints
System should be both available and consistent.
My initial thought was to to store data in file on both the servers; writes should be done on both the servers; read can be redirected to anyone(using LB). Use available ram as cache; data can stored according to following format on a file -
PhoneNumber | Name | Timestamp
There were some follow up questions asked to which i had no answer (or not optimal answer interviewer was looking for); if anyone reading this post has please post in comments.
Result : Rejected