Find a directory with the max number of files

Report a typo

Download and unpack the following archive: basedir.zip.

If you unpack and open it, you will see a lot of directories containing files.

You must write a program that finds a directory with the maximum number of files.

Enter the name of the directory and the number of files in it separated by a space.

For example:

dir0 0
Enter a short text
___

Create a free account to access the full topic