please check my code
My code works fine for n=7 but it goes wrong for n=8
I tried running this same code used in this lecture and I found out that this is not efficient for even number of input
Hi Arvind,
Your code is right and this question is for odd numbers only.
1 Like