Minimum Absolute Difference In Sorted Array In Python