摘要:
73: 矩阵置零 我跟官方解竟然一样哎 难点在于原地 class Solution: def setZeroes(self, matrix: List[List[int]]) -> None: """ Do not return anything, modify matrix in-place in 阅读全文
posted @ 2021-11-01 16:51
yi术家
阅读(37)
评论(0)
推荐(0)
摘要:
68 文本左右对齐 这困难题是我自己做的 耶~! !我觉得亮点在加空格那里 class Solution: def fullJustify(self, words: List[str], maxWidth: int) -> List[str]: n = len(words) i = 1 rel = 阅读全文
posted @ 2021-11-01 16:38
yi术家
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号