Get the lengths of each column in a table. Can include a header.
Time complexity: O(n) where n is the number of rows * columns.
Space complexity: O(n)
The table of strings to use for calculations
An array of lengths
Format
Get the lengths of each column in a table. Can include a header.
Time complexity: O(n) where n is the number of rows * columns.
Space complexity: O(n)