Compute expected coin flips to meet on octagon | Optiver Interview Question