Python中bytearray()函数的初识

简单写一下今天题目里看到的知识: 关于Python的内置函数bytearray()。 今天做着LeetCode里的小题目,发现了这个函数,当然这是大神写的,自己写的速度知识处于中等。题目大致如下: Max Consecutive Ones: Given a binary array, find the maximum number of consecutive 1s in this array.
相关文章
相关标签/搜索