Calculate the number of characters of 's' required to sequentially construct one permutation of each string in arr.
a) O(n log n)
b) O(n²)
c) O(n)
d) O(n!)