Which of the following is not used as a data structure?
The directory is not used as a data structure.
A directory is a file system cataloging structure which contains references to other computer files, and possibly other directories. Directories are found in a hierarchical file system, such as Linux, MS-DOS, OS, and UNIX. Array, linked list, graph are used in the data structure.