Skip to content

Add Binary Search algorithm in Python #597

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 1 commit into
base: master
Choose a base branch
from

Conversation

ayush1725
Copy link

@ayush1725 ayush1725 commented May 10, 2025

Description

This pull request adds the implementation of the Binary Search algorithm in Python. The code is well-commented and structured for clarity and educational purposes. It performs binary search on a sorted list and returns the index of the target element if found.

Type of Change

  • New feature (non-breaking change that adds functionality)

Checklist

  • I have read the Contribution Guidelines
  • I have followed the coding standards and naming conventions used in the project
  • I have tested the code before submitting
  • I have added comments/documentation where needed

Notes

This addition is aimed at helping beginners understand the binary search algorithm as part of the AlgoBook repository's collection of algorithms.

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