Google Interview Question

Given two strings , you need to write a function that will return yes or no based on whether one string can be converted to other or not.