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 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, 2020May 13, 2020
  • LeetCode

LeetCode 328. Odd Even Linked List

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…

Continue Reading
  • Posted on April 25, 2020April 25, 2020
  • 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, 2020March 26, 2020
  • 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 (except the tail) in a singly linked list, given only access…

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
  • Posted on March 26, 2020March 26, 2020
  • LeetCode

LeetCode 206. Reverse Linked List

Description https://leetcode.com/problems/reverse-linked-list/ Reverse a singly linked list. Example: Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL Follow up: A linked list can be reversed…

Continue Reading
  • Posted on May 26, 2019May 26, 2019
  • LeetCode

LeetCode 707. Design Linked List

Description https://leetcode.com/problems/design-linked-list/ Design your implementation of the linked list. You can choose to use the singly linked list or the doubly…

Continue Reading
  • Posted on February 24, 2018March 24, 2020
  • LeetCode

LeetCode 19. Remove Nth Node From End of List

Description Given a linked list, remove the n-th node from the end of list and return its head. Example: Given linked…

Continue Reading

Posts navigation

Page 1 Page 2 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (185)
    • Array (40)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (20)
    • Bit Manipulation (4)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (13)
    • Math (16)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress