Skip to content

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.

Notifications You must be signed in to change notification settings

vishalku03/Binary_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA---BINARY-SEARCH

Leetcode and GFG

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages