Gropon | Phone Screen 2019 | Serialize and deserialize a list of Strings

Given a list of strings which can contain any character, write a method serialize that serializes the list of strings into a string and then another method deserialize which converts the serialized string to the list of corresponding strings that should match the given input.

Example:
Input: ["Coding", "is", "awesome"]
Output: (deserialize(serialize(input)): ["Coding", "is", "awesome"]
Comments (1)