The Title Ladder
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L3
Problem
Given workers (list of dicts with worker_id and salary) and titles (list of dicts with worker_id and title), find the maximum salary. Return the sorted list of distinct titles held by any worker earning that maximum salary.
Summary
Job titles and the salary tier they belong to.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.