You are viewing a single comment's thread. Return to all comments →
If at least the costs were given in order, it could make sense...
agreed. my binary search attempts were timing out.
it was only when i ignored it mentioning binary search and just thought about best way to solve the problem, could I solve it without timeouts
I had the same problem. The problem as such is good but it's poorly categorized.