Traverse a path and print directory tree

Read the full interview experience this question came from →

Quick 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.

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

|Home/Coding & Algorithms/Adobe
Adobe logo
Adobe
Feb 11, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
14
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...