Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
You can find the length of a number by dividing it by 10 and then rounding it down again and again until this number becomes equal to 0. Add 1 if this number is negative.
Traverse the matrix column-wise to find the maximum length in each column.