Practice coding challenges
2 problems
Return top k frequent numbers sorted ascending by value in ties.
Return least intervals needed to execute tasks with cooldown n.