[UVA][dfs] 732 - Anagrams by Stack
Anagrams by Stack
How can anagrams result from sequences of stack operations? There are two
sequences of stack operators which can convert TROT to TORT:
[
i i i i o o o o
i o i i o o i o
]
where i stands for Push and o stands for Pop. Your
p...