Block Interview Question

Line Justify(search in leetcode)