+ 1
PERMUTATION
Eliminating Repetitive Outputs [EXAMPLE: INPUT OFF OUTPUT SHOULD BE: FFO FOF OFF] https://code.sololearn.com/cTBt8Q0cwqv6/?ref=app APWBD code
2 Answers
0
What's the question?
0
Try the code then input OFF
The outputs repeats
OFF
FOF
FFO
OFF
FOF
FFO
i just want to see OFF FFO FOF I mean Only Once