Minimum Cost to Convert String II — CaffeCode