Leetcode 1665. Minimum Initial Energy to Finish Tasks | Hello Interview