encode = (strs, sb = []) => {
    for (const str of strs) {/* Time O(N) */
        const code = getCode(str);/* Time O(1) */
        const encoding = `${code}${str}`;

        sb.push(encoding); 
    }

    return sb.join(''); /* Time O(N) | Ignore Auxillary Space O(N) */
}
Chunk Transfer Encoding
Time O(N) | Space O(1)
https://leetcode.com/problems/encode-and-decode-strings/
@param {string[]} strs
@return {string}