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 agree with Jobler. The problem asks for the inverse of the output provided which is always in the series f(1) f(2) f(3) ...
This means that the answer will always be 1 2 3 4 5, per problem specifications. The problem statement should be changed if the intent of it is to be computed as you described.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Security Function Inverses
You are viewing a single comment's thread. Return to all comments →
I agree with Jobler. The problem asks for the inverse of the output provided which is always in the series f(1) f(2) f(3) ... This means that the answer will always be 1 2 3 4 5, per problem specifications. The problem statement should be changed if the intent of it is to be computed as you described.