Pergunta de entrevista da empresa PayPal

finding any cousin for a given node in a binary tree