How to find the kth largest element in an array? (LeetCode .215) - Inside code

preview_player
Показать описание
(4th approach: Quickselect algorithm will be covered in the next video)

NB: This video is ad-free, you can choose to support Inside code by purchasing one of the courses above or dropping a super thanks!
NB2: Discounts of courses above are permanent

Рекомендации по теме
Комментарии
Автор

I liked your clear explanations. However, the 3rd solution is not understandable, if you don't know the related concept. Also, a note:

2:50 "n=len(arr)" line is redundant actually. In the "return" line, just use "negative indexing" ---> arr[-k]

halildurmaz
Автор

I'm so glad that I found your channel! I am curious: which software do you use for the animations?

ScriptRaccoon
Автор

GREAT VIDEO !
especially the part where you explained the function's time complexity in real time it was really insightful!

bigRedPain
Автор

I love your videos! Very addicting and informative

Souls-iqto
Автор

Your videos are topnotch and helped me a lot Thank you !

mehrdara
Автор

A great algo! Can u please make a video of Reservoir Sampling???? Please.

asatyammis
Автор

Look forward to quick select algo video

angelchen
Автор

Hello sir! Please make video about different types of tree data structures like n-ary tree, binary tree, avl tree, etc.

tusharsachdeva
Автор

Hi! Could you tell, how you do the animation part?

paras