Google Interview Question

Simple undergraduate algorithms concepts and data structures.