Minimum Cost to Cut a Stick
Jan 3 · 4 min read · Problem Given a wooden stick of length n units. The stick is labelled from 0 to n. For example, a stick of length 6 is labelled as follows: (link) Given an integer array cuts where cuts[i] denotes a position you should perform a cut at. You should p...
Join discussion