Snowflake Interview Question

One problem called TaskSchelude required a greedy approach to solve, and the other needed a heap.