Snowflake interview question

DSA problems involving geometry, monotonic stack and binary search.