---
title: "Discussion on \"LeetCode 56: Merge Intervals — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 56: Merge Intervals — Step-by-Step Visual Trace\". Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals and return an array of the non-overlapping intervals that cover all the intervals in the input."
url: "https://hashnode.com/posts/merge-intervals-visualization/69d7d255cbde7a930d4aaede"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LeetCode 56: Merge Intervals — Step-by-Step Visual Trace](https://blog.tracelit.dev/merge-intervals-visualization?utm_source=hashnode&utm_medium=feed)

Given an array of intervals where intervals\[i\] = \[starti, endi\], merge all overlapping intervals and return an array of the non-overlapping intervals that cover all the intervals in the input.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

  
[View profile](https://hashnode.com/@tracelit)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
