Microsoft | SDE | USA | Onsite
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2022-02-16Added By Anonymous
Source: Link
Had this question in yesterday's onsite.
Question required to find the Shortest transformation from input string to output string with some given constraints
Firstly thought of constructing graph. Gave BFS and DFS approach. He asked advantage of each and how to do efficiently