Binary Search Algorithm
 
The Algorithm




















 

 
Values associated with variables after executing current statement

 Current Line
 Next Line
 n
 beginning
 end
 middle
 Nmiddle
 found
 NAME

EXPLANATION

Middle Pointer (green band is domain to be searched):
Names:


Last updated 2001/06/12
© J.A.N. Lee, 2001.