Algorithm · Google · Medium
Problem Implement two functions, serialize and deserialize, that convert between a list of strings and one serialized string. The strings may contain any numbers and symbols. serialize receives a list of strings and produces a single string. deserialize receives that serialized representation and must recover the original list. The encoding must work for every possible list of strings. Constraints The list contains at most 10^4 strings. The combined length of all strings is…
Checking your access…