• + 0 comments

    you are probably missing this case where swap can occur at two different index check swap at 2 condition adjacent values and values that are far apart. cam free