Pregunta de entrevista de DXC Technology

Greedy algorithm, method overriding, oops etc