← DSA practice

Encode and Decode Strings

MediumArrays & Hashing

The problem

Design methods to encode a list of strings into one string and decode it back.

Full statement, examples and constraints: see the original problem link below.

Solve it on LeetCode