Playground Games Interview Question

A few trivial programming problems.