0

I have two strings which I need to compare and permute. What is the best way of doing this?

Given a string "asdfpoit" what is the best way to rerrange it to match another string "poitasdf"?

I know this can be done using nested for loops... but is there a better/faster way of doing this?

user793468
  • 4,728
  • 22
  • 78
  • 124

0 Answers0