Pergunta de entrevista da empresa ION Group

Puzzle question, DSA, OOPS and Low level system design