Millennium Interview Question

How would you make the code more robust?