Encode and Decode Strings

Design a reversible codec for a list of strings.

  • encode(strs) turns a list of strings into one encoded string.
  • decode(s) rebuilds the original list from that encoded text.

The transformation must be reversible even when input strings are empty or contain punctuation, digits, spaces, or separator characters. The platform execution entry point for this slug is solve(arg1), where arg1 is the list of strings. A correct solve performs a real encode then decode roundtrip and returns the decoded list (the original list).

Examples
Input: ["lint","code","love","you"]
Output: ["lint","code","love","you"]
Hints

Encode and Decode Strings

Design a reversible codec for a list of strings.