...

/

Solution to Sub-task: best line break

Solution to Sub-task: best line break

The solution to the Sub-task "best line break" of the project "Justify Text".

Best line break

In this final step, using functions from previous parts, we break a given line, maximize its length, and return the line with minimum cost using a cost function.

Access this course and 1400+ top-rated courses and projects.