PRG Recruitment interview question

Very basic