In C:
Following the code distributed with the lecture notes and discussed during the lecture, write a program that recursively traverses the directory hierarchy of a file system and finds the largest file in the whole file system.
Will your program work if a general graph is used for the directory structure? How could the problem be addressed to solve the potential cycle problem?