Interpolation Search algorithm (with Example & CODE)

preview_player
Показать описание
This video explains the interpolation search algorithm with example and CODE which is posted in the link below. This lecture compares interpolation search with binary search and shows when interpolation search works better than binary search. If you find any difficulty or have any query then do COMMENT below. PLEASE help our channel by SUBSCRIBING and LIKE our video if you found it helpful...CYA :)

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

Enjoyed your lecture ❤️. Thanks a lot. I will be writing my exams in 2 hours. Wish me success 🙏

chimeremanaege
Автор

If i find your vdo on any topic then i got sure i m going to understand this concept.

rahulchaubey
Автор

Thanks, bro! Greatest explanation Ive ever heard!

voytko
Автор

Very nice video and explanation thank you so much

krupapatel
Автор

Yrr mast padhato ho yrr sb doubt clear ho jaata h❤️❤️

RohitKumar-mywf
Автор

Great delivery and explanation, but I'd love if you got some type of writing pad for future videos. Was difficult to read. Ty tho

connorwilliams
Автор

Basically it all depends upon the formula..nice explanation..👍

soulvocals
Автор

Bro, you described it very well .I tried to search regarding this algorithm and i was scared by the jargon but we make it real smooth, hats off.

uubaidullah
Автор

Great video! I really liked the explanation between both algorithms! I have a question I am not sure if it will make sense but, is there a way to calculate the uniformity of a sorted array before choosing to use binary or interpolation?

dgomezperry
Автор

This tutorial really helpful for computer science and engineering students..

jonayethossain
Автор

so if array uniformity is at its worst then interpolation is still good or should i use only binary search then ?

gtxmax-q
Автор

Great explanation and topic to choose, You deserve too many applause and as well appluads
#TECHDOSE

udayanbandyopadhyay
Автор

Sir, In Binary search, the worst case time complexity would be "log(n)", and interpolation is better than BS, then what would be its worst case time complexity? 1<=(x)<log(n)??

the_ghost_of_uchiha
Автор

Sir its like an AP series so can we use the formula an=a+(n-1)d
as u said the distance between every two consecutive numbers must be equal

CodeSeeker
Автор

Dada Tum Bariya Kam Kar Rahe Ho !!!! ❤❤❤❤

sudiptaghosh
Автор

for bs you said time complexity is log n cause you assumed the list was already sorted right?

yegi
Автор

What is the worst case of IS for totally random distribution, O(n)? Like I chose 10 random numbers out of say 1000 elements, sorted them and conducted a search on them?

hritwiksom
Автор

What if the elements are 1, 2, 2, 3, 4, 5 and i want to find the value 2 which one should it search first?

jeihenberb
Автор

Bhai algorithm dry run Mai bhi Kar lunga🤦
Explain the intuition behind the algorithm

Tarunkumar_Gatla
Автор

It will more simple. We need single formula thats it- new_idx = (target_value - A[0]) / (A[1]-A[0])

girrajjangid