Optiver Interview Question

Mental math questions