Optiver Interview Question

Lots of quick computation problems. Hundreds digits