Skip to content
View Priyadharshini1175's full-sized avatar

Block or report Priyadharshini1175

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Priyadharshini1175/README.md

def binary_search(arr, target): left, right = 0, len(arr) - 1 while left <= right: mid = (left + right) // 2 if arr[mid] == target: return mid elif arr[mid] < target: left = mid + 1 else: right = mid - 1 return -1

arr = [1, 3, 5, 7, 9] target = 7 print("Element found at index:", binary_search(arr, target))

Popular repositories Loading

  1. Priyadharshini1175 Priyadharshini1175 Public

    Config files for my GitHub profile.

  2. ProgrammingLogic ProgrammingLogic Public

    Forked from vglug/ProgrammingLogic

    Various programming logic in various programming languages

    Python

  3. Hacktoberfest_Python_Module_Technical_Document Hacktoberfest_Python_Module_Technical_Document Public

    Forked from vglug/Hacktoberfest_Python_Module_Technical_Document

    Python Modules Technical Documents

  4. program program Public

  5. calibre-web calibre-web Public

    Forked from vglug/GetMyEbookWeb

    📚 Web app for browsing, reading and downloading eBooks stored in a Calibre database

    Fluent

  6. -grade-python- -grade-python- Public

    Python