Ternary Search | Ternary Search with example | Easy explanation of Ternary Search

preview_player
Показать описание
Ternary Search with example with easy explanation.

Its good to know binary search before you learn ternary search:

Try it yourself (Ternary search) :

Thanks for watching! Hope you learnt something new :-)
Рекомендации по теме
Комментарии
Автор

I'm really fond of this channel! Keep up the good work!

_buffer
Автор

the only video in youtube that really helped me with ternary search ty!

_torphi_
Автор

It's very helpful & after watching this I have LearnedTernary Search..

deepakgaroda
Автор

Your explanation is so easy to understand, thank you!

ekun
Автор

The explanation was good, but I guess you have mistaken your Index number for the base array, it would be 11 instead of 12. God speed to you.

yeasinibnekadir
Автор

Thanks for the explanation. I understood the concept in one go.

ns
Автор

thank you didi...this was really helpful.... i was stuck in ques which req ternanry search and this helped m..

kshitijvarma
Автор

nyc explanation .But it would be more better if u add & explain the code also. Keep it up👍

saroj.mehta.
Автор

overall explanation was very good, but correct me if am wrong
in the first array you skipped index 11, hence the formula (r-l) for the number of elements becomes wrong,
as 11-0 = 11 and number of elements is 12.
we can do ((r+1)-l) for the size of the elements.
please do reply

Akash
Автор

Which is better to use Binary search or ternary search

aarya_balan
Автор

The index of the last element will be 11 not 12 please check

contentshark
Автор

oh thats nice and simple .i just want simple explanation, thnks

asadali
Автор

nice explained i understood, keep doing

GopalKumar-pycf
Автор

Your last index number is wrong it should be 11 rather 12 please check

sayeemiimighthelpya
Автор

This accent is very dificult for me to understand. The echo didnt help either :(

gnt