Merge k Sorted Lists at Apple

Hard58.9% acceptance

This problem has 66.7% frequency at Apple.

Problem Description

You are given an array of `k` linked-lists `lists`, each linked-list is sorted in ascending order. _Merge all the linked-lists into one sorted linked-list and return it._

Read full problem and hints

Topics

Also asked at 45 companies


More Apple Questions

View all Apple questions