摘要:
恢复内容开始 # coding:utf-8 """ Name : LeetCode28.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 17:17 Desc:实现 strStr() """ class Solution: d 阅读全文
posted @ 2021-02-07 17:22
qilibin
阅读(67)
评论(0)
推荐(0)
摘要:
# coding:utf-8 """ Name : 剑指offer58.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 14:14 Desc: 左旋字符串 """ class Solution: def reverseLef 阅读全文
posted @ 2021-02-07 17:21
qilibin
阅读(36)
评论(0)
推荐(0)
摘要:
# coding:utf-8 """ Name : 剑指offer05.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 9:56 Desc: 替换字符串空格 """ # python 字符串不可原地修改 因此先将字符串转换为 阅读全文
posted @ 2021-02-07 10:33
qilibin
阅读(39)
评论(0)
推荐(0)
摘要:
# coding:utf-8 """ Name : NO541.py Author : qlb Contect : 17801044486@163.com Time : 2021/2/7 9:28 Desc: 翻转字符串2 """ #解题思路 # 把遍历的步长改为 2*k 即可 将 i:i + k 阅读全文
posted @ 2021-02-07 09:55
qilibin
阅读(61)
评论(0)
推荐(0)

浙公网安备 33010602011771号