Lexicographical permutations

Algorithms C++ HackerRank

The solution for Bigger is Greater challenge on HackerRank, or how to generate next lexicographically greater string. Problem description, algorithm steps and complete source code to solve this challenge.

Continue reading...