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 a binary search algorithm in python where the list and the target number are provided by the user as input. #327

Closed
Karna0005 opened this issue Oct 6, 2024 · 1 comment · Fixed by #328
Assignees

Comments

@Karna0005
Copy link
Contributor

  • The user should be able to input a sorted list of integers.
  • The user should also be able to input the target value they want to search for in the list.
  • The function should return the index of the target if found, or -1 if not found.
Copy link

github-actions bot commented Oct 6, 2024

Thank you for raising a issue, Hope you enjoing the open source. we try to reply or assign as soon possibe. Connect with mentor.

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 a pull request may close this issue.

1 participant