Given two arrays of strings named firstNames and lastNames, 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. Premium is unlimited.
Saved
Ctrl + Enter to check