ION Group interview question

DSA easy problems, puzzle, system design