String Concatenation Builder
You are given two strings str1 and str2.
- Concatenate both strings.
- Return the resulting string.
Example 1:
Input: str1 = "Hello", str2 = "World"
Output: HelloWorld
Example 2:
Input: str1 = "abc", str2 = "123"
Output: abc123
Now Your Turn!
Pick the correct output for the given inputInput: str1 = "TUF", str2 = "+"
Still unsure what the problem is asking ?
Let’s go through a few more examples, step by step, to make it clearer.
Constraints:
- 1 ≤ length of str1, str2 ≤ 100
- Strings may contain: lowercase and uppercase letters, digits, special characters