详细布置
字符串题不要轻易用库函数达不到训练目的😄
344.反转字符串
建议: 本题是字符串基础题目,就是考察 reverse 函数的实现,同时也明确一下 平时刷题什么时候用 库函数,什么时候 不用库函数
题目链接/文章讲解/视频讲解:代码随想录
# 344
class Solution(object):
def reverseString(self, s):
"""
:type s: List[str]
:rtype
字符串题不要轻易用库函数达不到训练目的😄
建议: 本题是字符串基础题目,就是考察 reverse 函数的实现,同时也明确一下 平时刷题什么时候用 库函数,什么时候 不用库函数
题目链接/文章讲解/视频讲解:代码随想录
# 344
class Solution(object):
def reverseString(self, s):
"""
:type s: List[str]
:rtype