There are four kinds of permutations or combinations possible based on whether repetition is allowed or not and whether order matters or not. All four of them are summarized and explained by example in the below figure. To generate them using recur...