Nagarro interview question

Questions about oop and data structures