Lexicographically smallest array after consecutive swaps | C++ | PrepInsta

Lexicographically smallest array after consecutive swaps | C++ | PrepInsta

More to explore