question – if set{1,3,5} steps are allowed in this stair case problem then i write a recursive code which is not working, please tell me the wrong approach and how to correct my code.
my code-https://ide.codingblocks.com/s/257643
and why some recursive code show TLE sometimes