BisectPy: array bisection algorithm
This is a package that migrates Python's
bisect module to Jula.
Note that since Julia's array index starts from
1 but Python starts from
0, the returned index of either
bisect_right is always their Python's correspondence plus
Also, the behavior of Python's
a is an array is also different from Julia: Julia array includes the
but Python does not!