Meta interview question

Two coding questions involving data structures and algorithms.