NeoAlgo icon indicating copy to clipboard operation
NeoAlgo copied to clipboard

Implementation Of Interpolation Search Algorithm

Open sharur7 opened this issue 6 years ago • 12 comments

🚀 Feature

The Interpolation Search Algorithm: Interpolation search is an algorithm for searching for a key in an array that has been ordered by numerical values assigned to the keys.

Language Supported:

C CPP Python Java C# JavaScript GO

Have you read the Contributing Guidelines on Pull Requests?

Yes

Motivation

It is an improved variant of binary search. It has not yet been added to this repository.

Pitch

Though the implementation of Binary search and Interpolation search is the same, the Interpolation search works better than Binary Search. This search algorithm works on the probing position of the required value. Interpolation search parallels how humans search through a telephone book. Instead of comparing against every item like the linear search, it attempts to find the item by approximating how far the item is likely to be from the current position.

I would like to take up this task to add a clean, informative, and workable code in C++ & Python.

sharur7 avatar Aug 16 '20 07:08 sharur7

@siddharth25pandey @plazzy99 @Kajol-Kumari @Abhijit2505 @SKAUL05 Can you please add the relevant labels to it and assign the issue to me. Thank you!

sharur7 avatar Aug 16 '20 08:08 sharur7

I would like to do it in Python.

Ajay0511 avatar Aug 16 '20 08:08 Ajay0511

@sharur7 Go with C++ and Python

Happy coding!!

vatsalkesarwani12 avatar Aug 16 '20 18:08 vatsalkesarwani12

@Ajay0511 and @nlok5923 both the language was already asked to assign by your friend

If You want to contribute in any other language please comment

vatsalkesarwani12 avatar Aug 16 '20 18:08 vatsalkesarwani12

I want to take up this issue in JAVA.pls, assign this task to me.

  • [x] Yes, I have read all the contributing guidelines.

nutanaarohi123 avatar Aug 17 '20 05:08 nutanaarohi123

I want to take up this issue in JAVA.pls, assign this task to me.

  • [x] Yes, I have read all the contributing guidelines.

Go Ahead with Java. Follow the Contribution Guidelines carefully. All the best

SKAUL05 avatar Aug 17 '20 06:08 SKAUL05

I would like to do this in C. Please assign this task to me.

yashaswibiyahut avatar Aug 17 '20 07:08 yashaswibiyahut

@plazzy99 Please assign this issue to me in JavaScript.

mharshita avatar Aug 17 '20 21:08 mharshita

@yashaswibiyahut go ahead with C @mharshita go ahead with javaScript

vatsalkesarwani12 avatar Aug 18 '20 05:08 vatsalkesarwani12

I have PR the Interpolation Search in C..Kindly review it @plazzy99

yashaswibiyahut avatar Aug 19 '20 08:08 yashaswibiyahut

pls, add difficulty label to this issue @HarshCasper @iamrajiv

nutanaarohi123 avatar Sep 27 '20 15:09 nutanaarohi123

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!

github-actions[bot] avatar Nov 28 '20 00:11 github-actions[bot]