leetcode - 1665. Minimum Initial Energy to Finish Tasks
DescriptionYouaregivenanarraytaskswheretasks[i]=[actuali,minimumi]:actualiistheactualamountofenergyyouspendtofinishtheithtask.minimumiistheminimumamountofenergyyourequiretobegintheithtask.Forexample,i