wingkwong / leetcode-the-hard-way

LeetCode The Hard Way - From Absolute Beginner to Quitter. Join Discord: https://discord.com/invite/Nqm4jJcyBf
https://linktr.ee/leetcodethehardway
860 stars 217 forks source link

Tutorial writeup - Segment Tree #215

Open wingkwong opened 1 year ago

wingkwong commented 1 year ago

It should cover

For those who wanna take it, please state 2 - 3 LC problems that you're gonna use for this writeup. Prefer someone who has deep knowledge on this topic.

Dhruvil-Lakhtaria commented 1 year ago

Hey I have basic knowledge of segment tree and willing to work on this issue. Basic segment tree. range-frequency-queries range-sum-query-mutalble. And I have started researching about dynamic segment tree and lazy propagation. Can you assign it to me.

wingkwong commented 1 year ago

@Dhruvil-Lakhtaria assigned. remember to read CONTRIBUTING.md first.

Dhruvil-Lakhtaria commented 1 year ago

I am done with

Dhruvil-Lakhtaria commented 1 year ago

PR added #278

wingkwong commented 1 year ago

Unassigned due to inactivity.

SHAY2407 commented 11 months ago

Hello,

I'm eager to work on this issue and prepare a comprehensive tutorial writeup covering the following topics:

  1. Overview: I'll provide an introduction to the concept of segment trees and their applications.
  2. Basic Segment Tree (with LC problems walk-through): I'll explain the basics with LeetCode problems like LeetCode 307 - Range Sum Query - Mutable and LeetCode 315 - Count of Smaller Numbers After Self.
  3. Dynamic Segment Tree (with LC problems walk-through): I'll delve into dynamic segment trees using examples from LeetCode 699 - Falling Squares and LeetCode 732 - My Calendar III.
  4. Lazy Propagation (with LC problems walk-through): I'll explore lazy propagation techniques with a focus on optimizing solutions, using LeetCode 307 - Range Sum Query - Mutable (Revisited) and LeetCode 715 - Range Module.
  5. Suggested Problems: I'll recommend additional LeetCode problems like LeetCode 218 - The Skyline Problem and LeetCode 327 - Count of Range Sum for further practice.

Thank you!

wingkwong commented 11 months ago

@SHAY2407 Go ahead.

wingkwong commented 4 months ago

Unassigned due to inactivity