Given two arrays of strings, the first names and the last names (given in this order, called firstNames and lastNames in the example), return an array containing the full names (separated by one space)
Example:
Input: firstNames = ["John","Andy","Mary"]
lastNames = ["Doe","Smith","Johnson"]
Output: ["John Doe", "Andy Smith", "Mary Johnson"]
Free plan: 30 tutor messages. PRO is unlimited.
Saved
Ctrl + Enter to check
