Question Link : leetcode.com/problems/cinema-...Code linK : Telegram channel link : t.me/officialCodeExplainerInstagram link : / whysoshivam
Fan of your video consistency Bro !!
I appreciate that!
Last accumulated row is getting missed in your code.
why are you starting indexing from 0 ,why not one ,why last=-1 ,a[r[i]-1]-when we can do a[r[i]]
You can also do that, it totally depend upon your implementation.
Пікірлер: 5
Fan of your video consistency Bro !!
@codeExplainer
Жыл бұрын
I appreciate that!
Last accumulated row is getting missed in your code.
why are you starting indexing from 0 ,why not one ,why last=-1 ,a[r[i]-1]-when we can do a[r[i]]
@codeExplainer
5 ай бұрын
You can also do that, it totally depend upon your implementation.