Leetcode 3213. Construct String with Minimum Cost | Hello Interview