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 problem specifies that there will only be one unique solution. Your test case has three valid solutions (i.e. (0,2), (1,2) and (3,4)) and so it is not a valid test case for the problem defined.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Hash Tables: Ice Cream Parlor
You are viewing a single comment's thread. Return to all comments →
The problem specifies that there will only be one unique solution. Your test case has three valid solutions (i.e. (0,2), (1,2) and (3,4)) and so it is not a valid test case for the problem defined.