We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
When those 6 test cases were not getting cleared, I moved to discussions to see if I can get any help. There, I got to know about one particular test case and hence added normalization
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Swaps 2
You are viewing a single comment's thread. Return to all comments →
https://stackoverflow.com/questions/13549051/find-the-number-of-swaps-needed-to-sort-a-given-array
When those 6 test cases were not getting cleared, I moved to discussions to see if I can get any help. There, I got to know about one particular test case and hence added normalization