Design a balloon stability tracker | Optiver Coding Question