Problem Brief
Generate Array
FULLTIMEOA
See Uber online assessment and hiring insights
Given a String array, return the output array in form where each word is first letter of that word with last letter of next (i+1)th index word.
eg = ["cat","dog","flower","bed"]
Output = ["cg","dr","fd","bt"]
Hi! Uber assessment comes with 4 coding questions.
1Example 1
Input
words = ["cat", "dog", "flower", "bed"]
Output
["cg", "dr", "fd", "bt"]
Explanation
:)