Can anyone recommend an ADT for the following job:
I want to create an ADT that will house the current directory. I want to be able to add to the current directory, thus moving into a subdirectory, or delete from the current directory, thus moving into a parent directory.
I was thinking either a stack, or a doubly linked list.
In other words you need a non linear data structure. Using a tree with recursive algorithms allows you to add and remove nodes (in this case folders) with ease of effort.