GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Category: Linked List

  • Posted on April 4, 2021April 4, 2021
  • LeetCode

LeetCode 83. Remove Duplicates from Sorted List

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…

Continue Reading
  • Posted on February 13, 2021February 13, 2021
  • LeetCode

LeetCode 1265. Print Immutable Linked List in Reverse

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…

Continue Reading
  • Posted on January 22, 2021January 22, 2021
  • LeetCode

LeetCode 24. Swap Nodes in Pairs

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]…

Continue Reading
  • Posted on May 13, 2020May 13, 2020
  • LeetCode

LeetCode 160. Intersection of Two Linked Lists

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…

Continue Reading
  • Posted on May 13, 2020July 27, 2021
  • LeetCode

LeetCode 328. Odd Even Linked List

Description https://leetcode.com/problems/odd-even-linked-list/ Given the head of a singly linked list, group all the nodes with odd indices together followed by the nodes…

Continue Reading
  • Posted on April 25, 2020August 19, 2021
  • LeetCode

LeetCode 146. LRU Cache

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) –…

Continue Reading
  • Posted on April 8, 2020April 8, 2020
  • LeetCode

LeetCode 876. Middle of the Linked List

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…

Continue Reading
  • Posted on March 26, 2020August 4, 2021
  • LeetCode

LeetCode 237. Delete Node in a Linked List

Description https://leetcode.com/problems/delete-node-in-a-linked-list/ Write a function to delete a node in a singly-linked list. You will not be given access to the head of the list, instead…

Continue Reading
  • Posted on March 26, 2020March 26, 2020
  • LeetCode

LeetCode 141. Linked List Cycle

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…

Continue Reading
  • Posted on March 26, 2020March 26, 2020
  • LeetCode

LeetCode 234. Palindrome Linked List

Description https://leetcode.com/problems/palindrome-linked-list/ Given a singly linked list, determine if it is a palindrome. Example 1: Input: 1->2 Output: false Example…

Continue Reading

Posts navigation

Previous Page Page 1 Page 2 Page 3 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress