1. Reverse Linked Listhistorical

    Given a linked list, reverse it and return the head of the reversed list.

  2. Merge Intervalshistorical

    Given a collection of intervals, merge all overlapping intervals and return the resulting coverage.

  3. Min Stackhistorical

    Design a stack that supports push, pop, and top, and can retrieve the minimum element in constant time.

  4. Merge Two Sorted Linked Listshistorical

    Given two monotonically increasing linked lists, merge them into one linked list that remains monotonically non-decreasing.

  5. Sort an Arrayhistorical

    Given an array, write a function that returns the array in sorted order.

  6. K-th Node from the End of a Linked Listhistorical

    Given a linked list, return its k-th node from the end.

  7. Median of Two Sorted Arrayshistorical

    Given two sorted arrays of lengths m and n, find the median of their combined values.

  8. Jump Gamehistorical

    Each element of a nonnegative integer array gives the maximum jump length from that position. Determine whether the last position is reachable.

  9. Copy Complex Linked Listhistorical

    Given a complex linked list (each node contains a node value and two pointers, one pointing to the next node and another special pointer pointing to any node), return the head of the copied complex linked list.

  10. Shortest Unsorted Continuous Subarrayhistorical

    Given an integer array nums, find a continuous subarray such that sorting only this subarray in ascending order makes the whole array sorted in ascending order.