Domanda di colloquio di Volkswagen Group

Given a binary tree, write an algorithm to find the absolute difference between its odd and even levelled nodes.