摘要:
class Solution: def reverseString(self, s: List[str]) -> None: """ Do not return anything, modify s in-place instead. """ i = 0 j = len(s) - 1 while i 阅读全文
posted @ 2022-05-04 03:56
stronger_el
阅读(23)
评论(0)
推荐(0)
摘要:
# 前后两个指针往中间靠class Solution: def twoSum(self, numbers: List[int], target: int) -> List[int]: i = 0 j = len(numbers) - 1 result = [] while i < j: if num 阅读全文
posted @ 2022-05-04 03:06
stronger_el
阅读(25)
评论(0)
推荐(0)
浙公网安备 33010602011771号