Top K Frequent Elements - 347. LeetCode - Java

  Рет қаралды 384

Teddy Smith

Teddy Smith

Күн бұрын

Пікірлер: 3
@KarthiKarthi-df2mp
@KarthiKarthi-df2mp 19 күн бұрын
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?
@TeddySmithDev
@TeddySmithDev 19 күн бұрын
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-df2mp
@KarthiKarthi-df2mp 12 күн бұрын
Thanks for the explanationsl man!....I got it thank you very much....looking for lot more videos with this wonderful explanation.
Plus One - 66. LeetCode - Java
6:53
Teddy Smith
Рет қаралды 241
Top K Frequent Elements - Bucket Sort - Leetcode 347 - Python
13:13
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 16 МЛН
Молодой боец приземлил легенду!
01:02
МИНУС БАЛЛ
Рет қаралды 2,1 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 60 МЛН
Go's Interfaces Are Awesome. Let me show you why!
4:01
Coding Szy
Рет қаралды 479
⚡️NEWS | RUBLE COLLAPSE | STRIKE ON CRIMEA | PUTIN IN KAZAKHSTAN
10:34
Ходорковский LIVE
Рет қаралды 185 М.
Beginners Should Think Differently When Writing Golang
11:35
Anthony GG
Рет қаралды 124 М.
Java Full Course for free ☕
12:00:00
Bro Code
Рет қаралды 12 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 16 МЛН