sir my code is passing all sample test cases .can you please tell why iam getting wrong answer?
Getting wrong answer in MIN-Query
update part is wrong thats why you are getting tle…
use can use this generic segment tree code for any segmen tree Q only merge function you have to modify
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.