Problem Statement (Top k numbers in a stream: medium) Given N numbers in an array, your task is to keep at most the top K numbers with respect to their frequency. In other words, you have to iterate over the array, and after each index, determine the...