See whitelakecodes/DSA/recursion code with comments

See segment tree

https://www.youtube.com/watch?v=0UM_J1jE1dg