in the state dp[i,j] what is the value when j == 0? is it 1?
Can you please explain the base case when k == 0?
Hello
Can you please also tell me the timestamp of the video at which this concept is being illustrated so that I do not have to search the whole video?
Yes at j = 0 the base case is 1 as when j = 0, no candles are lighted which can only be done in 1 way.
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.