Skip to main content
Feedback

The editorial for 'Merge Intervals' needs improvement

Gauri KhannaGauri Khanna
11 months ago
00

The current editorial for the Merge Intervals problem jumps straight to the optimal solution without explaining the intuition behind sorting by start time first.

For beginners, it would help to:

  1. Show the brute force approach first
  2. Explain WHY sorting helps
  3. Walk through a visual example

I can contribute an improved version if there's a way to submit editorial changes.


editorialimprovementmerge-intervalsfeedback

Comments (3)

Sign in to join the discussion.
Lakshay Desai
Lakshay Desai10 months ago(edited)

A question though, does the editorial team accept user improvements? It'd be great to contribute and learn from each other!

Lakshay Desai
Lakshay Desai10 months ago

Totally agree, Gauri! I remember being confused when I first saw the solution just diving into sorting. A section on the brute force method would really clarify why the optimal approach is better.

Omar Tanaka
Omar Tanaka11 months ago

I think visuals are a great idea! Seeing an interval merge step-by-step can make the concept click for visual learners. Maybe a simple drawing could do wonders.