摘要:
为初始化每次删除node后的位置,将需要删除的node前的节点后移,从而完成位置初始化。 Python: class Solution: def LastRemaining_Solution(self , n: int, m: int) -> int: # write code here res=[ 阅读全文
posted @ 2022-05-04 14:19
catch(...)
阅读(32)
评论(0)
推荐(0)
浙公网安备 33010602011771号