I AM GETTING TLE IN 2 Test Cases in Maximum Sum Query Question
Although it was the same question as discussed in the course lectures
Although it is same question as discussed in the course section
Please see your basic 2 conditions in the query function carefully. There’s some error.
If you haven’t seen the segment trees videos, please watch them else i believe you’ll definately find the error easily!
You can have a look at my implementation
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.