Pergunta de entrevista da empresa Lime

Format a given string to a justified alignment given an X maxWidth