Binary Search Algorithm: Background & Python Code