Pergunta de entrevista da empresa HT Media

check whether the given tree A is subtree of another tree B