Dell Technologies interview question

1. Longest common substring (DP) 2. Binary tree problem (Dont remember)