Example 21: Combination of Numbers
Learn how to generate unique combinations of given integers.
We'll cover the following...
Problem
Write a program to generate all unique combinations of 1, 2, and 3 using for loops.
Print the output on the console.
Example
Input | Output |
---|