Synopsys interview question

Object oriented Programming, Array questions (finding max and min elements)