Goldman Sachs Interview Question

Coding part: 1. Order Check 2. Monsoon Umbrellas