In this video, we're going to be solving my absolutely number 1 hated problem on the entirety of Leetcode: Next Permuration (LC # 31).
This problem is an absolute abomination. There's absolutely no chance you ever solve this without either a 200 IQ or having seen it before. I understand how it works, I can't prove to you why it does, but don't question it, just memorize the solution and be on your way. This is the worst problem...
On this page of the site you can watch the video online NEXT PERMUTATION | LEETCODE # 31 | PYTHON OPTIMAL SOLUTION with a duration of online in good quality, which was uploaded by the user Cracking FAANG 22 April 2022, share the link with friends and acquaintances, this video has already been watched 27,497 times on youtube and it was liked by 550 viewers. Enjoy your viewing!