ICICI Securities interview question

technical question