URL : https://ide.codingblocks.com/s/106818
I think this problem is similar to COUNT NUMBER OF BINARY STRINGS.
Class Assignment: Getting WA
hey!.
i have explained this code in my class today.
its about taking a base case and combinatorics
1 Like
Ohh Thanks bro…i have figured out my error…it was in numbering the output. i thought we have to print the input val along with # but it was rather the input number.