I found it easy to implement segment trees using iteration instead of recursion and thats why i am trying to implement lazy propagation also using iteration. But i am not able to code the lazy-propagation's logic using iteration. Someone help me out and code it please .......
Asked by: ABHISHEK_KUMAR2 on April 7, 2019, 6:34 p.m. Last updated on April 7, 2019, 6:34 p.m.