Loading...
Latest Commit Build Cost
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- senior
Problem
We need a CI cost attribution model. For each commit author, identify the repo they most recently committed to that also has CI build history. Then total up all build durations for that repo. Return each author and their total build seconds, alphabetically by author.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.