Basic Mechanical Interview Question