Minimum Absolute Difference in an Array

  • + 0 comments

    Converting a list to set takes O(N) which just causes a perf penalty for a marginal improvment elsewhere. If duplicates are being compared, it's not that big of a deal compared to removing the duplicates outright