Google Interview Question

Encode String with Shortest Length Leetcode No. 471