DOUBT of starters 155

can we take complete string as a substring ?? in the question Replace With First

Yes, we can because we need to write the minimum steps to make the strings equal. Also, there’s no such restriction mentioned in the question.