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.
- Host: GitHub
- URL: https://github.com/vishalku03/binary_search
- Owner: vishalku03
- Created: 2024-02-03T14:33:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-18T10:16:21.000Z (almost 2 years ago)
- Last Synced: 2025-01-09T02:22:37.573Z (11 months ago)
- Topics: cpp, dsa, gfg-questions, leetcode-questions
- Language: C++
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DSA---BINARY-SEARCH
Leetcode and GFG