DataDriven
LearnPracticeInterviewDiscussDailyJobs

Top Commit Authors by Repo

A hard SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
SQL
Difficulty
hard
Seniority
L5

Interview Prompt

Find the top 3 commit authors in each repo by average lines added. In case of a tie, break by author name alphabetically. Show each repo with its best, second-best, and third-best authors. If a position is unfilled, label it accordingly (e.g., 'No second author'). Format each entry as 'author (avg_added)'. Round to 1 decimal place.

Summary

Three authors per repo. The top committers.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your sql solution with real code execution
  4. Get instant feedback and a hire/no-hire decision

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge