DataDrivenDataDriven
LearnPracticeInterviewDailyJobsCommunity

Trees Within Trees

A hard Data Modeling interview practice problem on DataDriven. Write and execute real data modeling code with instant feedback.

Domain
Data Modeling
Difficulty
hard
Seniority
L6

Problem

We run a cloud file storage platform where people upload files from their phones and laptops, nest them into folders, and share them with other users. Photos carry camera and location metadata held under stricter retention rules than ordinary files, and each user's storage is capped by a quota we track as it moves day to day. Design the data model.

Summary

A file is also a folder. A folder is also a file.

Practice This Problem

Solve this Data Modeling problem with real code execution. DataDriven runs your solution and checks it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • Data Modeling Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons