Leno_B
Leno_B
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
Leno_B的博客
全部文章
(共3篇)
题解 | #和为S的连续正数序列#
class Solution: def LeftRotateString(self , str: str, n: int) -> str: # 用一个指针记录,然后最后向右读取和向左读取字符串 if not str: ...
Python3
字符串
2022-03-10
3
321
题解 | #把数组排成最小的数#
class Solution: def PrintMinNumber(self , numbers: List[int]) -> str: if not numbers: return "" # 判断 a+b v...
Python3
字符串
数组
2022-03-09
0
318
题解 | #表示数值的字符串#
class Solution: def isNumeric(self , str: str) -> bool: # 根据准则来判断 count_point = 0 # 小数点flag count_e = 0 # e的f...
Python3
字符串
2022-03-08
2
349