並前往https://leetcode.com/problems/find-good-days-to-rob-the-bank/discuss/1623353/Prefix-sum-and-suffix-sum