POTD
The for loop can be used for cleaner code(ChatGPT suggested ), otherwise, we can do it normally anyways.
1) Reading it, recursion clicks, if it doesn't then
2) Looking at the constraints n<=10, so if it's around 20 or less recursion must click.
#letsconnect #DSA #LeetCode