This commit is contained in:
2025-11-18 16:04:55 +08:00
parent 2971e19529
commit a1094d0d17
3 changed files with 95 additions and 0 deletions

5
25/11/717.py Normal file
View File

@@ -0,0 +1,5 @@
def isOneBitCharacter(self, bits: List[int]) -> bool:
i,n=0,len(bits)
while i < n-1:
i += bits[i] + 1
return i == n-1