4 ms·
If this was Python 2.1 or later, too bad you didn't check the stdlib: https://docs.python.org/2/library/bisect.html https://docs.python.org/2/library/bisect.ht
by js2 7y ago
If this was Python 2.1 or later, too bad you didn't check the stdlib:
https://docs.python.org/2/library/bisect.html https://docs.python.org/2/library/bisect.html