You are viewing a single comment's thread. Return to all comments →
Maybe not a cheating but definitely not the optimal solution. I like this approach: https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/forum/comments/418071
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Absolute Difference in an Array
You are viewing a single comment's thread. Return to all comments →
Maybe not a cheating but definitely not the optimal solution. I like this approach: https://www.hackerrank.com/challenges/minimum-absolute-difference-in-an-array/forum/comments/418071