• + 0 comments

    when i am solving in java, so in code editor they have passed a 2-D array. but how then we will identify separation between different seasons. for example in given example after problem statement, there were 3 seasons and in 1st season there were 3 episodes and then in2nd season ,only 1 episode and finally in 3rd season again 3 episode. means they are passsing a 2-D having (3+1+3)=7 rows and 4 colums. now being a programmer how could i get to know in function that which rows of matrix belongs to which season????

    please help me in understanding this. And please notify me if i am going in wrong direction!!!

    please help m,e