Kikoff logoKikoff
CodingMembers

Print File Structure from Paths (Indented Tree)

Members only

A file-system flavored coding question about turning a flat list of paths into a readable nested layout. The core of it is choosing a suitable structure for the hierarchy and a traversal that matches the output shape.

SWE
medium
tree
dfs
string
filesystem
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • Step-by-step approach
  • 2 common pitfalls
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...