Skip to content

gabaci72/Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Algorithm

01-Binary Search Algorithm

Flowchart
Begin:
Initialize variables low and high.
Enter Loop:
Loop continues as long as low <= high.
Find Midpoint:
Calculate mid index.
Compare:
Compare guess (middle value) with item.
If equal, return index.
If guess is greater, update high.
If guess is less, update low.
End Loop:
If loop exited and still no element found, return None.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages