Encode And Decode Strings Leetcode 150