leetcood学习笔记-203-移除链表元素

题目描述: 方法:#在改pre链表时 head中的值也改变 class Solution(object): def removeElements(self, head, val): """ :type head: ListNode :type val: int :rtype: ListNode """
相关文章
相关标签/搜索