Since, we are using a bottom-up approach, and we are calculating the values for each ‘i’ starting from 2, we should be checking the condition for ‘i’.
In line no. 43, we should check the condition for 'i' and not 'n' right?
The video will be replaced soon.