Concatenation of two strings
Given a two strings, this function will concatenate the two strings into one string. Example INPUT s1= cat s2 = dog OUTPUT catdog In the above example, the two strings cat and dog are concatenated Time Complexity: O(n), where n is the size of the largest string Algorthm1 1. Create …