Find all empty directories

Report a typo

Download and unpack the following archive: basedir_sample.zip.

If you open it, you will see a lot of directories containing subdirectories and/or files. A subdirectory may be empty or may contain some files.

Your task is to write a program that finds all empty subdirectories in this hierarchy.

Enter the names of the directories separated by a space in any order.

For example:

subdir28-1 subdir29-2 subdir30-3
Enter a short text
___

Create a free account to access the full topic