I want to document my thought process on this Leetcode question, https://leetcode.com/problems/top-k-frequent-elements/.
First I'll try get an idea of what the function signature should be like while listening to the question. Then I'll start ask cla...