...

/

DIY: String Transforms into Another String

DIY: String Transforms into Another String

Solve the interview question "String Transforms into Another String" in this lesson.

Problem statement

Given two strings of the same length str1 and str2, determine whether you can transform str1 into str2 by doing zero or more conversions. ...