Comcast Interview Question

Whiteboard programming riddles