PYTHON Towers Algorithm - CSES Sorting and Searching #11
Problem Statement. : https://cses.fi/problemset/task/1073
Github: https://github.com/BunnyHeist/CSEC
You are given n cubes in a certain order, and your task is to build towers using them. Whenever two cubes are one on top of the other, the upper cube must be smaller than the lower cube.
You must process the cubes in the given order. You can always either place the cube on top of an existing tower or begin a new tower. What is the minimum possible number of towers?
Join on Telegram: https://t.me/joinchat/ITN_wBQJY3Zl2BIKVFCGaA
Follow on Instagram: https://www.instagram.com/bunnyheist.ai/
Видео PYTHON Towers Algorithm - CSES Sorting and Searching #11 автора Python кодер
Видео PYTHON Towers Algorithm - CSES Sorting and Searching #11 автора Python кодер
Информация
2 декабря 2023 г. 8:48:06
00:08:08
Похожие видео