Time Complexity if we use for loop

Time Complexity if we use for loop instead of strcpy in largest string

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