Back to Browse

PYTHON Towers Algorithm - CSES Sorting and Searching #11

999 views
Jul 9, 2020
8:08

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/

Download

0 formats

No download links available.

PYTHON Towers Algorithm - CSES Sorting and Searching #11 | NatokHD