LeetCode 203. Remove Linked List Elements
Description https://leetcode.com/problems/remove-linked-list-elements/ Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/remove-linked-list-elements/ Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.val…
Description https://leetcode.com/problems/remove-duplicates-from-sorted-list/ Given the head of a sorted linked list, delete all duplicates such that each element appears only once. Return the linked list sorted as…
Description https://leetcode.com/problems/print-immutable-linked-list-in-reverse/ You are given an immutable linked list, print out all values of each node in reverse with the…
Description https://leetcode.com/problems/swap-nodes-in-pairs/ Given a linked list, swap every two adjacent nodes and return its head. Example 1: Input: head = [1,2,3,4]…
Description https://leetcode.com/problems/intersection-of-two-linked-lists/ Write a program to find the node at which the intersection of two singly linked lists begins. For…
Description https://leetcode.com/problems/odd-even-linked-list/ Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here…
Description https://leetcode.com/problems/lru-cache/ Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) –…
Description https://leetcode.com/problems/middle-of-the-linked-list/ Given a non-empty, singly linked list with head node head, return a middle node of linked list. If there are two middle…
Description https://leetcode.com/problems/delete-node-in-a-linked-list/ Write a function to delete a node (except the tail) in a singly linked list, given only access…
Description https://leetcode.com/problems/palindrome-linked-list/ Given a linked list, determine if it has a cycle in it. To represent a cycle in the…