Gap interview question

OOP principles and other algorithm questions