Robots and Pencils Interview Question

Design patterns