Microsoft interview question

Hard natural language parsing problem from leetcode...