Trifacta Interview Question

Print Tree in some weird way.