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 tried your solution with the test case you gave me (x=5, y={2,3,4,5,2} and your answer is YES while NO is expected
You did not test correctly, it is not enough to check that each data in y is a number. You should read again the description of a bijective function
Come back to me if you need more hints
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 tried your solution with the test case you gave me (x=5, y={2,3,4,5,2} and your answer is YES while NO is expected
You did not test correctly, it is not enough to check that each data in y is a number. You should read again the description of a bijective function Come back to me if you need more hints