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.
Are you retarded?.i have already mentioned that its passes 9 tests .
someone above requested for an answer (her answer only passed 3 tests) so i thought to provide her mine. she might get some insight and reach the correct answer.and i never said anything about my solution being the optimal one so keep you suggestion to yourself and if you dont like my solution that much , please from next time provide the correct answer to the person who requested for it.its would help all 3 of us.
cheers!!.
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 →
Are you retarded?.i have already mentioned that its passes 9 tests . someone above requested for an answer (her answer only passed 3 tests) so i thought to provide her mine. she might get some insight and reach the correct answer.and i never said anything about my solution being the optimal one so keep you suggestion to yourself and if you dont like my solution that much , please from next time provide the correct answer to the person who requested for it.its would help all 3 of us. cheers!!.