leetcode142.Linked List Cycle II
Problem DescriptionGiven a linked list, return the node where the cycle begins. If there is no cycle, return null.There is a cycle in a linked list if there is some node in the li...
Docker Compose 基础以及常用命令
当使用 Docker Compose 进行容器编排时,我们可以使用一个 YAML 文件来定义和管理多容器应用程序的服务、网络和卷等。下面是一份全面的 Docker Compose 相关信息,包括其基本概念、常用命令和配...
leetcode19.Remove Nth Node From End of List
Problem DescriptionGiven the head of a linked list, remove the nth node from the end of the list and return its head.ApproachTo remove the nth node from the end of a linked list, w...
leetcode203.Remove Linked List Elements
Problem DescriptionGiven the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val == val, and return the new head.ApproachThe key to ...
leetcode206.Reverse Linked List
Problem DescriptionGiven the head of a singly linked list, reverse the list, and return the reversed list.ApproachTo reverse a linked list, we can iteratively change the direction ...