Problem 1866 · Hard

Number of Ways to Rearrange Sticks With K Sticks Visible

Count stick permutations with exactly k visible sticks from the left.

Open the interactive visualisation