GeeksForGeeks interview question

Related to the past working experience