You have nailed the explanation, its perfect.....but what if the top k is 2 and the last list in an bucket as 5 numbers?
@TeddySmithDev19 күн бұрын
It will store those numbers under bucket[6] within nested list. The nested list gives the ability to add multiple numbers within array and when it iterates backwards it will get those two numbers. If I did not understand your question correct, please comment again and i will look.
@KarthiKarthi-df2mp12 күн бұрын
Thanks for the explanationsl man!....I got it thank you very much....looking for lot more videos with this wonderful explanation.