HGS interview question

Basic questions that 4 to 5