Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Binary Search #41

Open
7 tasks done
deutranium opened this issue Oct 1, 2020 · 12 comments
Open
7 tasks done

Implement Binary Search #41

deutranium opened this issue Oct 1, 2020 · 12 comments
Assignees
Labels
algorithm For issues related to algorithms' code and/or theory good first issue Good for newcomers hacktoberfest Welcome to people planning to contribute as a part of Hacktoberfest

Comments

@deutranium
Copy link
Owner

deutranium commented Oct 1, 2020

Implement Binary Search in a language of your choice.

Please read the contributing guidelines in CONTRIBUTING.md

Languages claimed/implemented:

@deutranium deutranium added good first issue Good for newcomers hacktoberfest Welcome to people planning to contribute as a part of Hacktoberfest algorithm For issues related to algorithms' code and/or theory labels Oct 1, 2020
@Rahul30032
Copy link
Contributor

Hey I can try implementing this in CPP, if that's okay can you assign this to me?

@hackbansu
Copy link
Contributor

I'm adding this in Java.

@deutranium
Copy link
Owner Author

@Rahul30032 @hackbansu sure

@hackbansu
Copy link
Contributor

Created #45 with code in Java. Cheers :)

@Rahul30032
Copy link
Contributor

after this issue was assigned to me, I found out a basic implementation of binarysearch in cpp was pushed so i implemented another problem statement mentioned in readme file in binaryseach folder i.e implementing binary search for a sorted array with duplicate elements. my output gives first and last index as well as its count.

@deutranium
Copy link
Owner Author

@Rahul30032 yeah it was an issue at my end, I didn't check it. Thanks for implementing a different version and good job with the code!!

@swapnil-satpathy
Copy link
Contributor

Can you please assign it to me. I along with binary search will also implement lower_bound,upper_bound from scratch which are features of STL and also add functionalities for finding ceiling and floor

@deutranium
Copy link
Owner Author

@swapnil-satpathy sure and I'm guessing you're talking about an implementation in C.

But you should name it as binarySearch_scratch.c and don't remove the code present right now as it talks about the basic flow without going into intricacies.

I'll assign this to you

@codelixir
Copy link
Collaborator

Hey, can I implement this in golang?

@inesane
Copy link
Collaborator

inesane commented Oct 3, 2021

@codelixir sure go ahead!

@royzaa
Copy link

royzaa commented Oct 15, 2022

Hi, can I implement this in dart?

@codelixir
Copy link
Collaborator

codelixir commented Oct 16, 2022

@royzaa yes you can go ahead, I'll assign it to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithm For issues related to algorithms' code and/or theory good first issue Good for newcomers hacktoberfest Welcome to people planning to contribute as a part of Hacktoberfest
Projects
None yet
Development

No branches or pull requests

7 participants