I have an one-dimensional array, which contains the letter Amurz. If you want to find out all the unique combinations, the combination type is 1-to-many, for example: the letter A can be combined with any other one or more letters, please give a Demo or explain the principle thank you, it can be the implementation of any programming language, JS is the best.
except for addition operations.