Kantar interview question

database question and oops concept