Data Structure for file directory
There was a question one of my friends was asked in an interview.
Write a code in C which which can store all the files and folders. Each folder can contain multiple files and folders as well. (Assume names of folders and directories will be given, no need of using system functions). Focus here is on using an efficient Data structure.
Open Chat in New Window