AnAr Solutions interview question

Basic oop