We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Here is my Python solution! Using a while loop, we continually cut the sticks and remove the ones that have the least length and add the amount of sticks remaining to the answer.
Cut the sticks
You are viewing a single comment's thread. Return to all comments →
Here is my Python solution! Using a while loop, we continually cut the sticks and remove the ones that have the least length and add the amount of sticks remaining to the answer.