John Deere interview question

Various data structures and algos.