Domanda di colloquio di ION Group

Puzzle question.. Oops concept.. Question based on data structures