Turing interview question

Basic GFG puzzles wer asked