Medium
Encode a list of strings to one string and decode it back.
Design an encoding scheme that converts a list of arbitrary strings into one string and back without losing data.
Examples
Input: ["lint","code","love","you"]
Output: encodes and decodes back to the same list
Constraints
- Strings may include special characters