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.
Requirement
Requirement
Sort by
recency
|
20 Discussions
|
Please Login in order to post a comment
Here is my solutin in java, javascript, python, C, C++, Csharp HackerRank Requirement Problem Solution
java7 all test case passed
Here is Requirement problem solution - https://programs.programmingoneonone.com/2021/07/hackerrank-requirement-problem-solution.html
python code for this one please
For all but 3 of the test cases, it is possible (in C) to pass essentially by counting one-by-one the valuations that satisfy the requirements without timing out; you just have to do a tiny amount of work to minimize the amount of time spent on failed valuations.