Compass Interview Question: Leetcode medium hard question... | Glassdoor