GP Portail interview question

not sharing about it thanks