Question d’entretien chez eBay

Basically is leetcode 68. Text Justification