eQ Technologic Interview Question

focused more on object oriented part