You are viewing a single comment's thread. Return to all comments →
Question statements says we can give 1, 3 or 5 chocolates. But testcases are designed as per 1 2 or 5 chocolates. Kindly update ques or test cases. It wasted a hell lot of time to debug what is wrong with the code
I would never solve this problem if I haven't read this comment. Come on, @HackerRank, change the statement!
I wasted a lot of time...