Hey guys I recently made a video series on segment tree covering all the basics which includes introduction, building the tree, querying, updating and lazy propagation. Also the series contains two solved problems and one of them includes solution to to a very recent question that appeared in Codechef September long challenge 2016 (prob code : DIVMAC)
Please check it out if you are interested.
6 Likes