You are viewing a single comment's thread. Return to all comments →
to know the min diff in the whole array, that will come with sorting easily because both number with min diff will be adjacent after sorting
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Loss
You are viewing a single comment's thread. Return to all comments →
to know the min diff in the whole array, that will come with sorting easily because both number with min diff will be adjacent after sorting