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.
I have submitted an answer to this question, but when run against test case number 3 (x = 5, y = {2, 3, 4, 5, 2}), it claims my solution returns "NO." I find this odd, because when I copy and paste my solution and run it on my computer, test case number 3 returns "YES."
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Security Bijective Functions
You are viewing a single comment's thread. Return to all comments →
I have submitted an answer to this question, but when run against test case number 3 (x = 5, y = {2, 3, 4, 5, 2}), it claims my solution returns "NO." I find this odd, because when I copy and paste my solution and run it on my computer, test case number 3 returns "YES."