Leetcode 471 Encode String With Shortest Length