Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
Storage Cleaner
Medium
You are implementing a recursive storage cleaner. Given a filesystem represented as a dictionary and a starting path, delete all files and directories under that path, then delete the path itself. Return the list of all deleted paths in the order they were deleted (children are deleted before their parent directory).
The filesystem is a dictionary where: ...
Asked at:Datadog
More Datadog interview questions
- Stream Pattern Matchermedium
- Packet Buffermedium
- Asset Tree Sizemedium
- Sensor Reading Interpolatoreasy
- Event Window Aggregatormedium
- Maximum Vacation Days With Minimum Flightsmedium
- Label Co-occurrence Findereasy
- Denomination Breakdownmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.