TD Interview Question

Low level system design and Dsa question From leetcode