Leetcode #347: Top K Frequent Elements

Just finished "Top K Frequent Elements" and wanted to write down my thought process while it is still fresh. I also use this blog as a quick reference, so I wanted to add some notes on data/heap to my little cheatsheet.