Build an In-Memory File Vault with Duplicate-Name Handling

Quick Overview

Build an in-memory file vault that creates missing directories and resolves duplicate names with the smallest available numeric suffix. Support file addition and lexicographically ordered directory listings while handling extensions, hidden-style names, and independent path scopes.

Build an In-Memory File Vault with Duplicate-Name Handling

Company: Harvey

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Onsite

Overview: Build an in-memory file vault that creates missing directories and resolves duplicate names with the smallest available numeric suffix. Support file addition and lexicographically ordered directory listings while handling extensions, hidden-style names, and independent path scopes.

Harvey logo
Harvey
Aug 8, 2026
hardSoftware EngineerOnsiteCoding & Algorithms
36
0
Loading...