Domanda di colloquio di TD

Low level system design and Dsa question From leetcode