Baxter Interview Question

Print triangle pattern using tree.