Algorithms Made Easy Tutorial 6 - Interpolation Search

preview_player
Показать описание

Also follow me on social media :D

Steam ID: CodingMadeEasy

Feel free to download my apps as well!

Driving Frenzy
----------------------------

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

Thanks for going deeper in to algo, I was looking for something like that

NitinTiwari
Автор

instead of keep resetting the min and max each access (binary tree) this one gets the value range, and guesses the approximate position inside, and ur getting gains out of it? thats pretty cool. didnt think of this. one thing id like to point out, is the "value" is never higher than the high bar, its always looking below it, to be inside the range. (so x, is always an under interpolation, it never looks past the high bar, always before it.)

ratshitpartners
Автор

Thanks! Keep making these! I love all of your tutorials!

BLProHD
Автор

Clear and easy to understand, thanks man!

coffle
Автор

What does "uniformly distributed array" mean?

EktaNandwani
Автор

osm!! Thank you very much :D
I think line number 145(17:42) should be
while(tempArray[high]>=value && tempArray[low]<=value)
an extra "=" is added at the tempArray[low]<=value

sharonalexander
Автор

very helpful video for a very rare algorithm. thanks a lot
but you should also include cases where slope is decreasing and increasing. i meant convex and concave type graphs. it would explain the necessity of iterations.

PomegranateAmazing
Автор

Very nice tutorial. Thank you very much :-)

KiranKumarAVK
Автор

I have a question. You are comparing "value" with "tempArray[index]". After first two checks (greater / less than), only one case can happen where "value == tempArray[index]". Why don't you return "true" at that moment itself?

subhascse
Автор

Sir please tell me about software you are working in this tutorial(Request)

datastructure
visit shbcf.ru