Hi↵
↵
This blog is about Range query and update question. For beginners, this path is very helpful. ↵
↵
Follow the order.↵
↵
1.- Segment Trees↵
↵
https://youtu.be/FR5d4V7Z9SE — Coding Blocks Tutorial↵
↵
https://www.hackerearth.com/practice/data-structures/advanced-data- ↵
structures/segment-trees/tutorial/↵
↵
2.- Sparse table↵
↵
https://youtu.be/9FLPwDn6L08↵
↵
https://cp-algorithms.com/data_structures/sparse-table.html↵
↵
3.- [Binary Index tree](https://youtu.be/v_wj_mOAlig)↵
↵
↵
4.- [Square root decomposition](https://youtu.be/gWbDocYhwDA)↵
↵
↵
5.- [MO's Algorithm](https://blog.anudeep2011.com/mos-algorithm/)↵
↵
↵
6.- [Heavy Light Decomposition](https://blog.anudeep2011.com/heavy-light-decomposition/)↵
↵
↵
For reference and practice questions [cp-alogrithms](https://cp-algorithms.com/) is a great place. ↵
↵
Cheers!↵
↵
This blog is about Range query and update question. For beginners, this path is very helpful. ↵
↵
Follow the order.↵
↵
↵
https://youtu.be/FR5d4V7Z9SE — Coding Blocks Tutorial↵
↵
https://www.hackerearth.com/practice/data-structures/advanced-data- ↵
structures/segment-trees/tutorial/↵
↵
↵
https://youtu.be/9FLPwDn6L08↵
↵
https://cp-algorithms.com/data_structures/sparse-table.html↵
↵
↵
↵
↵
↵
↵
↵
↵
↵
For reference and practice questions [cp-alogrithms](https://cp-algorithms.com/) is a great place. ↵
↵
Cheers!↵