Synopsys interview question

Algorithms and OOP design