An open API service indexing awesome lists of open source software.

https://github.com/vishalku03/binary_search

In binary search, recursion is used to repeatedly divide a sorted array into halves until the target value is found. The algorithm compares the middle element to the target, then recursively searches either the left or right half depending on the comparison, reducing the search space efficiently.
https://github.com/vishalku03/binary_search

cpp dsa gfg-questions leetcode-questions

Last synced: 10 months ago
JSON representation

In binary search, recursion is used to repeatedly divide a sorted array into halves until the target value is found. The algorithm compares the middle element to the target, then recursively searches either the left or right half depending on the comparison, reducing the search space efficiently.

Awesome Lists containing this project

README

          

# DSA---BINARY-SEARCH
Leetcode and GFG