Link Development interview question

OOP concepts and problem solving