Pergunta de entrevista da empresa Google

Tree + Hashmap , DP on subsequences (Optimised Version)