Implement DeleteTree With Limited Filesystem APIs
Company: Datadog
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Technical Screen
Overview: Review a filesystem implementation problem that asks you to delete an entire tree using only limited list, delete, and directory-check APIs. The question emphasizes post-order traversal, iterative versus recursive trade-offs, production memory failures, and wide-directory edge cases.
Read the full Datadog Software Engineer interview experience this question came from