string a = "............" string b = "............" a+=b Whats the time complexity of that ^^ is that O(1)? or linear? Thanks.
Time complexity of concatenation of 2 strings in c++
string a = "............" string b = "............" a+=b Whats the time complexity of that ^^ is that O(1)? or linear? Thanks.