If I have to use Segment Tree then why to use Euler Tour
I didn’t get the application part of Euler Tour
Why to use Euler Tour
@Sparda947 euler tour helps you to represent the given tree as array, segment tree is used in a array , so to convert the tree into array, euler tour is used. after only flattening the tree into array , you can apply segment tree on it
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
yes I got it’s application when done some questions on it
Okay great. If your issue has been resolved please close this doubt.