Time Complexity if we use for loop instead of strcpy in largest string
Time Complexity if we use for loop
Hey @anmolaggarwal.432
It will be O(n*len(largest string)) in worst case
Say
strings are like
a
aa
aaa
aaaa
aaaaa
aaaaaa
...
So it will get updated for each iteration