Best explanation of algorithm ! with its derivation also

https://www.quora.com/How-would-you-explain-an-algorithm-that-generates-permutations-using-lexicographic-ordering

Click here to start solving coding interview questions