Question d’entretien chez John Deere

Basic questions regarding some sorting techniques and few puzzles.