Difficulty: MEDIUM
Categories: 배열/문자열
Source: https://leetcode.com/problems/encode-and-decode-strings/