Pergunta de entrevista da empresa Snowflake

DSA problems involving geometry, monotonic stack and binary search.