Traverse a path and print directory tree
Company: Adobe
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Technical Screen
Overview: This question evaluates proficiency with filesystem I/O, path validation, directory traversal, recursion and error handling in Node.js, plus the ability to produce deterministic directory listings in either an indented tree or structured JSON representation.
Read the full Adobe Software Engineer interview experience this question came from