Comments

May be 1600 soon. Wanted to reach expert soon. Putting hardwork consistently. Fingers Crossed

I got the approach btw. Thanks for replying

Yup now got AC by iterative Code : Iterative Solution

Thank you Saul-Goodman

Bro I did same as yours appraoch but getting TLE on test 18, can you please see and help me how to avoid it. Link to solution : Solution

On codemastercpp → One less nerd, 4 years ago
-11

chup chapri. Don't write these useless messages

On n0sk1ll → Editorial for Hello 2023, 4 years ago
+3

F is very similar to : THis Problem

-8

It would be great if you create mashup for aspiring experts

And what about lunchtime, I don't see it in their calendar.

Did you got any segment Tree approach for this problem?