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.
This is a pretty abstract question which tests that you're already familiar with the mathematical concept of bijective functions (thats "function" in the mathematical sense, not the programming sense).
My translation of it was :
if the all the numbers in the input array are unique
return YES
else
return NO.
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 →
This is a pretty abstract question which tests that you're already familiar with the mathematical concept of bijective functions (thats "function" in the mathematical sense, not the programming sense).
My translation of it was : if the all the numbers in the input array are unique return YES
else return NO.