@@MrCoderPro No I am asking like you are first of all building a dp state for different curr,intelli inorder to get solution I got thae things when v[i] == 0 but I didnt get the point of deletion of upper bounds when v[i] >0 and v[i] < 0
ahhhh!! got it thank you your code was very easy to understand btw did you have any more links like that blog you sent for diffeent advanced data structure application.
You can look up the data structures with "codeforces blog", as Codeforces has good blogs about them. If you want me to make a blog, I can try to make one as well!
good video
why deleting upper bounds?
That is how ordered multiset works. Here is a place you can look: codeforces.com/blog/entry/88193
@@MrCoderPro No I am asking like you are first of all building a dp state for different curr,intelli inorder to get solution I got thae things when v[i] == 0 but I didnt get the point of deletion of upper bounds when v[i] >0 and v[i] < 0
ahhhh!! got it thank you your code was very easy to understand btw did you have any more links like that blog you sent for diffeent advanced data structure application.
It is to prevent overcounting.
You can look up the data structures with "codeforces blog", as Codeforces has good blogs about them. If you want me to make a blog, I can try to make one as well!