Closed FilippNikitin closed 9 months ago
This kind of code creates N^2 complexity instead of linear.
pad_length = [max(lengths) - len(lst) for lst in lists]
This kind of code creates N^2 complexity instead of linear.
pad_length = [max(lengths) - len(lst) for lst in lists]