Challenge: Composite Pattern
In this challenge, you have to implement the composite pattern to solve the given problem.
We'll cover the following
Problem statement
In this challenge, you have to implement a directory system using the composite pattern.
You have been given the following skeleton code:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.