+ 3
Is there a binary search module in python?
I am tired of writing a new binary_search everytime I solve a codewars challenge .I am looking for a binary m search module that I can import.Can someone please help
4 Respostas
+ 8
Richard ,
maybe this can help you:
https://www.geeksforgeeks.org/binarytree-module-in-JUMP_LINK__&&__python__&&__JUMP_LINK/
+ 1
you could also just copy/paste your own code.
0
Slick that would be boring. So out of all the python programs that use binary search on the planet .you are telling me there is no module .How shocking!
0
No, I'm saying you already wrote a program for it. So you never need to write one again. That goes with any code you write. If that potential isn't exciting, I don't know what to tell you.