Minimum Absolute Difference in an Array

  • + 2 comments

    Why should we consider only consecutive pairs? It can be any two elements from the array right?