1. Remove Nth Node From End of Listhistorical

    Given a linked list, remove the nth node from the end and return the head of the list. For example, given the linked list: 1->2->3->4->5, n = 2. after removing the nth node from the end, the list becomes 1->2->3->5.

  2. Palindrome Linked Listhistorical

    Determine whether a linked list is a palindrome.

  3. Palindrome Linked Listhistorical

    Determine whether a linked list is a palindrome.

  4. Linked List Cyclehistorical

    Given a linked list, determine whether it contains a cycle.

  5. Linked List Cycle IIhistorical

    Given a linked list, return the first node where the cycle begins. If the list has no cycle, return null.

  6. Rotate Listhistorical

    Given the head head of a linked list, rotate the list to the right by k positions.

  7. Linked List Cyclehistorical

    Given a linked list, determine whether it contains a cycle.

  8. Linked List Cycle IIhistorical

    Given a linked list, return the first node where the cycle begins. If the list has no cycle, return null.

  9. Intersection of Two Linked Listshistorical

    Write a program that finds the first node at which two singly linked lists intersect.

  10. Reorder Listhistorical

    Reorder a singly linked list by alternating nodes from the beginning and end, changing links without modifying node values.