Project discussion, how can you deprecate a service.
-> Our service was on deprecation and my latest project was related on that discussed thoroughly.
-> For deprecation, I told interviewed regarding strangling our service. In our system we have a system which manages that.
Coading,
-> find the longest substring with distinct elements in substring, used map.
HLD,
-> Design instagram feed.
-> I wasn't prepared as HR told that this was only coading interview not HLD.
Still I tried with an approach
As instagram feed with only 20 post,
We can fetch the top 20 followers with list of 20 posts, sort them accordingly, and have caching layer on both Database as the latest post will be fetch very frequently. Also We will store people's post on server caches and it can be replaced on hourly or daily basis depending on requests.
Interviewer was very experienced but there were many communication gaps due to accent.
Verdict: Rejected.