Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
For each row of your time complexity analysis you are keeping V1i constant. But you are not considering the "cnt" part of your pseudo code wherein you will need to iterate over the bucket of each V1i and V2i pair.
The analysis of time complexity part was brilliant !!!
Such a nice solution! I was kinda confused after seeing the dp solution
Thank you for the curated Segment Tree word document, will follow and practice from it.
Very intuitive solution. You have earned a subscriber!
Absolute Brilliance💥
How do you even come up with these solutions ?
one doubt ( a + b ) %k == (a%k + b%k)%k can you please explain why you're eliminating %k here
it will get eliminated from LHS and RHS.
For each row of your time complexity analysis you are keeping V1i constant. But you are not considering the "cnt" part of your pseudo code wherein you will need to iterate over the bucket of each V1i and V2i pair.
The analysis of time complexity part was brilliant !!!
Such a nice solution! I was kinda confused after seeing the dp solution
Thank you for the curated Segment Tree word document, will follow and practice from it.
Very intuitive solution. You have earned a subscriber!
Absolute Brilliance💥
How do you even come up with these solutions ?
one doubt ( a + b ) %k == (a%k + b%k)%k can you please explain why you're eliminating %k here
it will get eliminated from LHS and RHS.