swift-man / swift-man.github.io

blog.slarea.com
https://blog.slarea.com
MIT License
1 stars 0 forks source link

algorithm/leet-code-medium/next-permutation/ #4

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

[Swift] Next Permutation - SwiftMan Blog

Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.

https://blog.slarea.com//algorithm/leet-code-medium/next-permutation/

QureshiAbraham commented 2 years ago

I found that solution very popular and helpful: https://www.youtube.com/watch?v=tC-aM1rG1HA&ab_channel=EricProgramming