Design a data structure for Linux files and directories
Filed under Arista Networks
The question
Explain how files and directories are organized in a Linux system and design a data structure for it in C. Write functions to insert a new directory into a parent directory and to search for a given directory across all directories.
No write-up yet. Related questions below have one.
Related Arista Networks questions
Collected from public candidate posts and coding forums. Updated Nov 2026.