• Anagrams by Stacks examples

Question related to mission Anagrams By Stacks


There is only 1 included example. I think it would be very helpful to include 3 or 4 examples, with one of them being longer (requiring over 15 actions). My initial implementation was very slow. It would have been easier to catch this on my local machine rather than wait for all the checkio test runs which literally took several minutes or longer for each run.

I'm guessing you included only 1 example because most of the test anagrams have more than one solution - so you can't know in advance which solution someone will get first. Could you at least put one or two more examples that have unique solutions for minimum number of actions?