Find the maximum index reachable after rearranging elements so the prefix sum never goes below 0.
Unlock detailed company stats for this questionUpgrade
Rearrange the elements so the contiguous sum up to the maximum index never goes below 0, and find that maximum index. The poster does not recall the question completely. Difficulty: easy to medium.
Community answers
No answers contributed by the community yet.


