Optiver interview question

Q: implement a simple calendar program