wuyijia

导航

2023年8月24日 #

基础题数组-485、283、27

摘要: 485. 最大连续 1 的个数 1 class Solution: 2 def findMaxConsecutiveOnes(self, nums: List[int]) -> int: 3 maxCount = count = 0 4 5 for i, num in enumerate(nums) 阅读全文

posted @ 2023-08-24 10:50 小吴要努力 阅读(4) 评论(0) 推荐(0) 编辑