Sliding Window

1004. Max Consecutive Ones III

1004. Max Consecutive Ones III 這個題目是基於題目 485. Max Consecutive Ones

904. Fruit Into Baskets

904. Fruit Into Baskets class Solution: def totalFruit(self, fruits:

930. Binary Subarrays With Sum

930. Binary Subarrays With Sum