DEV Community

Discussion on: Software Engineer 2 UI Interview at Microsoft

Collapse
 
vijayprwyd profile image
vijayprwyd

Thanks very much for sharing the questions . Just a doubt , Is round 4 Problem 2 a backtracking problem ? Can't we solve it with 2 loops ( one iterating each element of dictionary until a match is found and the inner one for comparing string and dictionary element ) and use 2 pointer here ? Are there any optimised solutions ?