Pregunta de entrevista de Lenovo

Basic stuff like OOP, some easy algorithmic problems