Computer Science, asked by ami889, 2 months ago

Write a program to accept any 3 letter word and print all the probable 3 letter combinations. No letter should repeat in the output.

INPUT: ABC          OUTPUT: ABC   ACB    BAC   BCA      CAB  CBA​

Answers

Answered by fm570727
0

Answer:

Here is a solution that is used as a basics of backtracking. see the attachment.

Attachments:
Similar questions