---
title: "#merge-k articles | Hashnode"
description: "Explore 1 articles tagged #merge-k on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/merge-k"
---

Tag

# #merge-k

1 posts · 0 followers

[Vineeth Chivukula](https://hashnode.com/@vineethchivukula) · [Jul 12, 2024](https://hashnode.com/posts/solving-merge-k-sorted-lists/669121ce83cea100418ff4b6)

### [Solving Merge k Sorted Lists](https://vineethchivukula.hashnode.dev/solving-merge-k-sorted-lists?utm_source=hashnode&utm_medium=feed)

To see the question, click here. Naive Approach The idea is to store all the values of the list nodes in an array, sort them using the Arrays.sort method, and then construct the linked list to return it as the answer. // TC: O(nlogn) // SC: O(n) imp...

6 min read · [vineethchivukula.hashnode.dev](https://vineethchivukula.hashnode.dev/solving-merge-k-sorted-lists?utm_source=hashnode&utm_medium=feed)
