You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Approach :- we can analyse that no of elementh at 'ith' level is 'i' ,
--> elements at level 1 = [ 1 ]
--> elements at level 2 = [ 1, 1]
--> for every level greater than 2 we have 1st and last element as '1' and 'jth' elements of that level is sum of elementh at previous level at index [ j-1] and [j]