Domanda di colloquio di Coursera

Write a Program to Justify a String based on certain rules.