A Problem From My Engineering Interview