• + 0 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