Loading...

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
junior, mid

Problem

HR wants to know which job titles are held by the company's highest earners. You have two datasets: worker records and title records, linked by worker_id. Find every title held by someone earning the top salary. Return unique titles only.

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.