when was this oa held??
Is sample test case of Q3 is right ? how come its answer is 20? mine is coming out to be 12
yeah same. cdid the simple recursive way since N<=20
Login before adding your answer.
Is sample test case of Q3 is right ? how come its answer is 20? mine is coming out to be 12
yeah same. cdid the simple recursive way since N<=20