Search Questions

Company: NAMMA_YATRI

#1

Directory Structure (SDE Question) - Part A

You are given a directory structure represented as a tree, where each node represents a directory that can have any number of child directories.

- Each child directory will have a unique name.
- The second line of the input will contain the root name and its child directories.

Based on the given input, you have to construct the directory struct

Asked in: NAMMA_YATRI


Buyer: 0
Code Size: