Skip to content

ADDED Python binary search #71 #98

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

serverf21
Copy link

What?

Added the code for Binary Search in Python

Solves #71

Tested and verified the code with all corner cases in local system.

Steps -

  1. Input any sorted array
  2. Try searching for a value
  3. The code will output the index of that value in sorted array
    Time Complexity - O(log(n))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant