Question

can any one tell me a real examples or applications of linear search and interpolation search....

can any one tell me a real examples or applications of linear search and interpolation search. thank you.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Interpolation search

The Basic Idea nterpolation search models how humans search a dictionary better than a binary search, because if a human werePseudocode: 1 interpolation_search(A[0.n-1], x): 4 if x <1o: return -1 if x >= hi : while i <j 10 if x > mid 12 13 14 15 16 1

Application As I said already this algorithm is extremely interesting and very appropriate in many use cases. Heres an examp

Linear search:-

Linear Search A linear search is the most basic of search algorithm you can have. A linear search sequentially moves throughIn The Real World Despite its less than stellar performance, linear searching is extremely common. Many of the built-in methoThank you.

Add a comment
Know the answer?
Add Answer to:
can any one tell me a real examples or applications of linear search and interpolation search....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT