Practice Problem

Encode and Decode Strings

Difficulty: Medium

Design an algorithm to encode a list of strings into a single string and decode it back, handling any character content.