filesystem Interview Questions
12 interview questions in our bank cover filesystem, most of them Coding & Leetcode-style Questions. They average 2.9/5 difficulty — medium — and each one was reported by a candidate after a real interview. Companies known to ask about filesystem: Databricks, Datadog, OpenAI, Oracle, Snowflake, and 5 more.
Practice these on the problems board →Companies that ask about filesystem
Question mix
- Coding & Leetcode-style Questions11
- System Design for ML1
Difficulty
- 2/5 — easy2
- 3/5 — medium9
- 4/5 — hard1
Questions tagged filesystem
Durable Key-Value Store Serialization
3/5Design a resilient persistence layer with custom serialization rules in this compelling challenge inspired by OpenAI technical interviews. The exercise tests your ability to encode arbitrary data structures containing complex characters directly into binary formats without relying on standard built-in serializers, while also handling strict file size constraints. Gain immediate access to the complete problem description and model code by subscribing.
Coding & Leetcode-style QuestionsOpenAIDistributed File System Metadata Layer with Strong Consistency
4/5Dive into a complex distributed systems architecture challenge inspired by technical interviews at Databricks. You will design the directory and file management metadata tier for a massive storage network, emphasizing strict consistency guarantees and fault tolerance over weak replication models. The exercise assesses your mastery of consensus protocols, hierarchical tree organization, and high-availability design principles. Unlock the complete system architecture blueprint and expert analysis with a subscription.
System Design for MLDatabricksFile System Encryption Count and Minimum-Cost Encryption
3/5This Databricks interview question invites you to navigate a hierarchical file system tree to compute security statistics and optimize encryption overhead. The first part tests your recursive tree traversal capabilities, while the second part explores optimization strategies for minimizing operational costs across nested directories and individual files. It is an excellent exercise for practicing dynamic programming and greedy choices on tree structures. To view the comprehensive problem description and optimal model solution, a subscription is required.
Coding & Leetcode-style QuestionsDatabricksOOD — File Management System
2/5This Oracle coding exercise requires you to build a lightweight in-memory directory management utility. You will implement foundational functions to verify folder existence, generate new directories, and add files while carefully managing tricky edge cases and duplicates. It measures your ability to write clean, robust object-oriented code under test conditions. Unlock the full prompt and expert implementation details with a paid subscription.
Coding & Leetcode-style QuestionsOracleDelete a File System Subtree with Limited APIs
3/5This file system manipulation puzzle, featured in Datadog interviews, tasks developers with deleting an entire directory subtree using a severely restricted set of immutable application programming interfaces. Because deletion rules prevent removing non-empty directories directly, candidates must devise a reliable traversal strategy to clean up nested paths safely. This problem evaluates recursive problem-solving skills and meticulous edge-case handling within hierarchical structures. Gain immediate access to the full problem breakdown and expert solution with a subscription.
Coding & Leetcode-style QuestionsDatadogIn-Memory File System (LC 588)
3/5Featured in Snowflake engineering interviews, this design task requires implementing a virtual in-memory file system that supports directory creation, path navigation, file content manipulation, and listing contents lexicographically. It tests your ability to model hierarchical trees, design robust node classes, and handle string parsing for absolute directory paths. Unlocking the full problem details, edge-case handling, and robust code implementation requires a paid subscription.
Coding & Leetcode-style QuestionsSnowflakeHierarchical Path Key-Value Store
3/5This DoorDash coding exercise challenges you to design a structured data manager that organizes text-based nodes in a hierarchical, directory-style layout. You will implement standard tree-manipulation operations such as node creation, value updates, retrieval, and conditional deletion while maintaining strict parent-child invariants. The problem tests your mastery of tree traversal and custom object-oriented design in an interview setting. Unlock the full problem statement and complete model implementation with a subscription.
Coding & Leetcode-style QuestionsDoorDashIn-Memory File System
3/5This popular Harvey technical interview challenge asks you to build a simulated data hierarchy that supports directory navigation, file creation, and content retrieval using hierarchical naming paths. The exercise tests your proficiency with tree structures, custom parsing logic, and efficient in-memory data organization. Additional complexities involve handling duplicate naming conflicts and capacity limits within folders. Unlock the complete technical breakdown and expert solution by purchasing a subscription.
Coding & Leetcode-style QuestionsHarveyCalculate Total Size of Files in Nested Directories
2/5Explore how to traverse hierarchical file systems and compute cumulative byte counts in this Datadog interview question. Candidates will practice handling recursive data structures and aggregating numerical properties across arbitrary tree depths. This challenge evaluates tree traversal techniques and clean implementation habits. Access the complete problem description and model solution with a subscription.
Coding & Leetcode-style QuestionsDatadogIn-Memory File System / Directory Tree
3/5Hierarchical data structures and object-oriented design principles are highlighted in this Shopify interview prompt, which challenges engineers to construct an in-memory file system management tool. The task involves supporting directory navigation, path creation, file reading, and conflict management through efficient tree or trie architectures. This exercise assesses API design, memory management, and tree traversal efficiency under simulated operational loads. Reviewing the complete problem description and model implementation requires a paid subscription.
Coding & Leetcode-style QuestionsShopifyResilient / Versioned In-Memory File System
3/5This reported Netflix interview challenge requires building a memory-resident file management utility that handles standard data manipulation actions while preserving historical states and ensuring crash resilience. Candidates are tested on their ability to design versioning mechanics and efficient historical lookups using temporal indexing. To explore the comprehensive problem specifications and optimal implementation approaches, users will need an active subscription.
Coding & Leetcode-style QuestionsNetflixPrint Directory Tree Given a File Path
3/5This Adobe interview challenge asks developers to traverse a nested data structure representing a hierarchical file system and output a visually formatted tree of directories and files. The task evaluates recursion, string manipulation, and error handling for missing or unexpected path types. Building a clean, indented visual representation tests fundamental tree traversal skills under structured constraints. Unlock the full problem description and expert reference solution by subscribing today.
Coding & Leetcode-style QuestionsAdobe
Studied alongside
filesystem interview FAQ
- How many filesystem interview questions are there?
- 12 reported questions, mostly Coding & Leetcode-style Questions.
- Which companies ask filesystem questions?
- Databricks (2), Datadog (2), OpenAI (1), Oracle (1), Snowflake (1), DoorDash (1), Harvey (1), Shopify (1).
- How hard are filesystem questions?
- They average 2.9 out of 5: 2 at 2/5, 9 at 3/5, 1 at 4/5.