Google Interview Question

Many variations to a simple coding problem to see if you can adapt your algorithm to different situations.