We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Recording Episodes
You are viewing a single comment's thread. Return to all 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