Lockheed Martin Interview Question

Straightforward programming questions to be solved on a whiteboard.