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.
The values of 100 and 50 can be found by reverse engineering it (look at the input and output, you will see that the initial budget must be so). In addition, my test cases appear to fail even when the input/output matches exactly. They do not mention how to set the cardinality of the userRole, a.k.a. |userRole|.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java Annotations
You are viewing a single comment's thread. Return to all comments →
The values of 100 and 50 can be found by reverse engineering it (look at the input and output, you will see that the initial budget must be so). In addition, my test cases appear to fail even when the input/output matches exactly. They do not mention how to set the cardinality of the userRole, a.k.a. |userRole|.