Problem 806 · Easy

Number of Lines To Write String

Write letters left to right onto lines of fixed width and report the line count and the width used on the last line. The visual shows each line filling as letter widths are added.

Open the interactive visualisation