I am trying to build a app that can scramble the input letters. I have found code samples that can rearrange:
abc
into cba, acb
etc.
What I am trying to do though is the above, but also being able to output shorter combinations using only the letters inputted.
So my desired app would be able to sort abc into a
, bc
, acb
etc.
I realise this might require some sort of algorithm or but I haven't been able to find anything related on the web.
Thanks!