Top-k-most-frequent-number-in-a-stream

how do to approach this question

hello @shashankmaheshwari054

have u solved this question -> top k frequent element in an array ?

using heap or array only ??

using heap . . … …

no,can u share me the link of the question

here is the question link -> link

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.