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

Hi,

We can achieve it using recursive logic as the following.

Sample20230601-4L.zip (4.3 KB)

Regards,

1 Like