単方向連結リスト

LeetCode

【LeetCode】82. Remove Duplicates from Sorted List II 解答・解説【Python】

問題 原文 Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct nu...
LeetCode

【LeetCode】61. Rotate List 解答・解説【Python】

問題 原文 Given the head of a linked list, rotate the list to the right by k places. Example 1: Example 2:...