D23
Segment Tree & BIT
21 stations · 15hRange queries with updates: segment trees and Fenwick trees. 8 concept lectures and 13 interview problems explained by codestorywithMIK (15h of video), grouped into 5 patterns such as Build & Range Query, Point Update, Lazy Propagation.
Start this line →- Build & Range Query6
- Point Update2
- Lazy Propagation1
- Fenwick Tree (BIT)4
- Segment Tree Applications4
- Segment Tree54:43
- Segment Tree22:23
- Segment Tree29:01
- Segment Tree14:30
- Range Update32:44
- Maximize Active Section with Trade IILC 3501 · 1:05:55HardGoogle · Amazon · +1 more companiesLeetCode ↗ (opens in a new tab)
All 21 stations in order
- 1.Segment Tree
- 2.Segment Tree
- 3.Segment Tree
- 4.Segment Tree
- 5.Range Maximum Index Query
- 6.Range Maximum Index Query
- 7.Range Update
- 8.Maximize Active Section with Trade II (LeetCode 3501)
- 9.Query Sum II
- 10.Range Minimum Query
- 11.Range Update Query
- 12.Range Sum Query - Mutable (LeetCode 307)
- 13.Find Building Where Alice and Bob Can Meet (LeetCode 2940)
- 14.Count Good Triplets in an Array (LeetCode 2179)
- 15.Fruits Into Baskets II & III (LeetCode 3477)
- 16.Longest Balanced Subarray II (LeetCode 3721)
- 17.Block Placement Queries (LeetCode 3161)
- 18.Longest Substring of One Repeating Character (LeetCode 2213)
- 19.Distribute Elements Into Two Arrays II (LeetCode 3072)
- 20.Find X Value of Array II (LeetCode 3525)
- 21.Subarrays Distinct Element Sum of Squares II (LeetCode 2916)