Atlas Copco Group Interview Question

DSA about binary tree and transversal of number