david6p2 / JustifiedString

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:Swift 100.0%