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.
Testcases are garbage. I guess that author wanted to annoy users, because otherwise why didn't he mentioned that orders are not in order (that even sounds ridiculous!). Dear author: if you wanted such constraints then please mention this somewhere in the problem statement.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Average Waiting Time
You are viewing a single comment's thread. Return to all comments →
Testcases are garbage. I guess that author wanted to annoy users, because otherwise why didn't he mentioned that orders are not in order (that even sounds ridiculous!). Dear author: if you wanted such constraints then please mention this somewhere in the problem statement.