merge_two_sorted_lists

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: MIT Imports: 1 Imported by: 0

README

< Previous                  Next >

21. Merge Two Sorted Lists (Easy)

Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.

Example:

Input: 1->2->4, 1->3->4
Output: 1->1->2->3->4->4

[Linked List]

Similar Questions

  1. Merge k Sorted Lists (Hard)
  2. Merge Sorted Array (Easy)
  3. Sort List (Medium)
  4. Shortest Word Distance II (Medium)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL