Round 1
- Find the top K most frequent elements in an infinite data stream.
- Convert a sorted doubly linked list in place into a balanced binary search tree without creating any new nodes.
Round 2
I had to implement merge sort by hand:
- Implement merge sort from scratch.
- Explain its recursion tree in detail.
I also had to implement operations involving set bits and find all anagrams.
Round 3: System Design
Design a payment processing platform, with the discussion focused on:
- Idempotency.
- Retries.
- Failure handling.
Discussion
Loading comments…