Pergunta de entrevista da empresa Google

Check if one tree is a subtree of another.

Resposta da entrevista

Sigiloso

7 de set. de 2017

Compress a non-decreasing array. Example, [1,2,3,3,3,7,8,9,10,10] -> '1-3, 7-10'