LeetCode 1830. Minimum Number of Operations to Make String Sorted

preview_player
Показать описание

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

Your observation about the relation between this problem and next greater permutation problem was beautiful!

makaalu