LinkedIn | USA | Senior SW | PhoneScreen | 2024

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-04-22Added By Anonymous
Source: Link

1 hr interview


1.first 5 to 10 mins self introduction
2.next 2 questions on java 1. Thread vs Process? 2. Write through cache vs Write back cache
3.Given a simple interface for a Ratelimiter API, the question was to code the Ratelimiter, and throw an exception if the QPS > 5
4.Leetcode Max stack problem.


For Maxstack i came up with O(1) for all except the popMax(). Interviewer asked if you could think of a better way like using SortedMap and DoubleLinkedList, I couldn't comeup with the solution.

Comments