Pergunta de entrevista da empresa PayPal

In a binary tree given a target element, print the immediate infected items.