Number of ways to reach nth step

how to make changes in my code if it is given that order dosent matter …
CODE LINK : https://ide.codingblocks.com/s/99378

hey @sunny.kumar2016, can you share me link to problem statement.

This is the question link for the solution https://practice.geeksforgeeks.org/problems/count-ways-to-nth-stairorder-does-not-matter/0

hey @sunny.kumar2016, I made changes to your code with dp approach. Check them here.

where ?? send me the code link

hey @sunny.kumar2016, Sorry I forgot to mention the link. Here it is https://ide.codingblocks.com/s/99826