Rock Technolabs interview question

Please refer my description under the interview process.