Only test case 4 failed

@neha_153 while initializing the dp array in which either row index or column index is zero you have used wrong number of rows and columns.
Rectified code.