Plz solve this question interview question

Assignment: Print all the possible outcomes of a characters/digits in a given string/number.

For example: Input: ABC, Bot should print: ABC, ACB, BAC,BCA, CAB, CBA. or If the given input =123,

Bot should print: 123, 132, 213, 231, 321, 312

The output length should be equal to input length. in UiPath


We can achieve it using recursive logic as the following. (4.3 KB)


1 Like