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.
Separate the chocolate
Separate the chocolate
Sort by
recency
|
22 Discussions
|
Please Login in order to post a comment
the statement probably should've said that you can't leave any piece of chocolate unattended, since the wording was a bit vague on whether you had to use all of it or not
Here is Separate the chocolate problem solution in Python Java C++ and C programming - https://programs.programmingoneonone.com/2021/07/hackerrank-separate-the-chocolate-problem-solution.html
not passing the value of k... to define the max differnce b/w pieces..
can't understand the meaning of the question.... plz help....
The problem is not explained properly. Also, confusing language is used.