← Google questions
CodingReported in a candidate post, Aug 2024

File/Directory Visit Summary

Filed under Google

Given a list of visited file paths, return a compressed list where if all files within a directory have been visited, collapse them into the parent directory path.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.