/JustifiedString

Test Exercise to Justify a string. It means, make it has a desired number of charactes by adding spaces between words.

Primary LanguageSwift

JustifiedString

Solve the following problem:

Problem: Given a String of n characteres, return a string of k desired characters by inserting evenly spaces between words.