Aptean interview question

Questions about reasoning