Hays interview question

Basic interview qns but very lengthy