hey
I have a string with followed by - (multiple ) , now i want to find all combinations such that the alphabets order don't change.
Say for instance input is ABC--- then output will be all combinations when A precedes B and B precedes C , dash can go anywhere .
A-B-C- is fine but B-A-C- is not as B precedes A
I wrote the code for anagram but could not generalize it for the above constrains
In reply to combinations of given string by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |