keon / algorithms

Minimal examples of data structures and algorithms in Python
MIT License
23.97k stars 4.6k forks source link

a more efficient recursive approach with 2 args. #879

Closed patilabhay679 closed 2 years ago

patilabhay679 commented 2 years ago

updated the binary search recursive approach, using just 2 arguments instead 4 and it is more efficient in performance also.