# 21.12.2025 [955. Delete Columns to Make Sorted II]
Автор: KittyCat, Keyboard and LeetCode
Загружено: 2025-12-21
Просмотров: 9
21.12.2025
[955. Delete Columns to Make Sorted II](https://leetcode.com/problems/delete-...) medium
[blog post](https://leetcode.com/problems/delete-...)
[substack](https://open.substack.com/pub/dmitrii...)
[youtube]( • # 21.12.2025 [955. Delete Columns to Make ... )

#### Join me on Telegram
https://t.me/leetcode_daily_unstoppab...
#### Problem TLDR
Remove columns to sort strings #medium
#### Intuition
The brute-force works.
Build the strings column by column and either accept the current column or not.
#### Approach
optimization: keep only rows that have equal chars
#### Complexity
Time complexity:
$$O(n^3)$$ or n^2 optimized
Space complexity:
$$O(n^2)$$ or n oprimized
#### Code
https://dmitrysamoylenko.com/2023/07/...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: