About 793,000 results
Open links in new tab
  1. Linked List Cycle II - LeetCode

    There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the index of the node that tail's next …

  2. Linked List Cycle - LeetCode

    Given head, the head of a linked list, determine if the linked list has a cycle in it. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the …

  3. Linked List Cycle II - LeetCode

    Linked List Cycle II - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

  4. Reverse Linked List II - LeetCode

    Reverse Linked List II - Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from position left to position right, and return the reversed list.

  5. Linked List - LeetCode

    Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.

  6. Linked List Components - LeetCode

    You are given the head of a linked list containing unique integer values and an integer array nums that is a subset of the linked list values. Return the number of connected components in nums where two …

  7. Reverse Linked List - LeetCode

    Can you solve this real interview question? Reverse Linked List - Given the head of a singly linked list, reverse the list, and return the reversed list.

  8. How to create test cases on LeetCode? – Help Center

    Aug 17, 2024 · 3.2 Standard Data Structures LeetCode problems often involve complex data structures like Linked Lists and Binary Trees, which are pre-defined to save you time.

  9. Intersection of Two Linked Lists - LeetCode

    There are 2 nodes before the intersected node in A; There are 3 nodes before the intersected node in B. - Note that the intersected node's value is not 1 because the nodes with value 1 in A and B (2nd …

  10. 2095. Delete the Middle Node of a Linked List - LeetCode

    If you are given the middle node, the node before it, and the node after it, how can you modify the linked list?