Printing Hierarchical Structure with Numbering and Indentation
Consider the below diagram , which shows a sort of hierarchical organization for a company . Electronics R'Us has four departments namely R&D , Sales, Purchasing , Manufacturing . Sales is subsequently divide into Domestic and International categories and so on . We need to generate an output wh