Loading...

The Budget Allocator

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium
Seniority
mid, senior

Problem

Finance wants to know how much budget each employee is responsible for when people are split across multiple projects. Given the project budgets and employee assignments, calculate each person's total budget share across all their projects.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.