Frage im Vorstellungsgespräch bei ION Group

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