Comments

thanks

can you share your segment tree thought , how do you solve it ?

beautifull technique ,thanks for sharing

can you explain it properly ?

can anyone share the concept for solving E?