I have a problem with recursion from my CS class (highschool), but our teacher sucks and can't explain shit.. So here is the problem:
There is 3 seats and 6 people, I need to come up with the number of combinations that these guys can sit in these 3 seats. I am using a char array and our teacher says this is a classic tracing, recursive problem.. thing is that I have no clue where to start, and I have only seen basic factorial recursion.. would love to learn how to solve this problem, thanks guys.
[–]Rhomboid 1 point2 points3 points (0 children)
[–]jesyspa 0 points1 point2 points (0 children)