2851. String Transformation | Weekly Leetcode 362

Published --