脸熟店面

第一题 : https://leetcode.com/problems/word-break-ii/

I olny tried to solve it to return first valid sentence. But while discussing the solution, it felt like interviewer wanted me to return all. Very basic mistake on my end to not clarify the problem.

第二题 : https://leetcode.com/problems/subtree-of-another-tree/

我考的是

Write a function to convert a String to Integer: https://leetcode.com/problems/string-to-integer-atoi/

Eg:
“123” => 123

On asking further details, the interviewer mentioned that it could contain any illeagal character too.