Lenovo interview question

Basic stuff like OOP, some easy algorithmic problems