EarnIn Interview Question

Fit a given sentence in certain row and column size matrix with some rules.