Simulate consuming a readable stream that emits chunks (string arrays).Return one concatenated string.
solve(['Hello, ', 'World', '!']) → 'Hello, World!'.
solve(['Hello, ', 'World', '!'])
'Hello, World!'
Sample tests