How to Generate Permutations of a String in C++ | Hacker News Reader