โ† Truminds questions

Arrange flower sticks: first K ascending, rest descending

Filed under Truminds

The question

Given N stick lengths and K, arrange the first K sticks in increasing length order and the remaining ones in decreasing order.

No write-up yet. Related questions below have one.

Related Truminds questions

Collected from public candidate posts and coding forums. Updated Nov 2026.