Leetcode 31: Next permutation | Intuition and Approach

preview_player
Показать описание
This Video shows different approaches to solve question 31 of leetcode: next permutation

Please like and subscribe for more content.

Tags:

#arrays

#Coding #datastructures

#Graph #leetcode #programming #Algorithms #movezeros #Google #Amazon

#Facebook

#Twopointers
Рекомендации по теме
Комментарии
Автор

I made a small mistake at 19:53, I should have chosen 2 5 4 3 1, which makes the next greater permutation to be 2 5 1 3 4, thus at 24:31 it should be 2 5 1 3 4, apologies.

code_concepts_with_animesh
Автор

Thanks buddy u help me clearing the doubt really appreciated your efforts ❤️

abhishekkr
join shbcf.ru