DataDriven
LearnPracticeInterviewDiscussDailyJobs

The Response Aggregator

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 pages (a list of pages, each a list of dicts with 'category' and 'amount'), sum amounts per category across all pages. Return a list of [category, total] pairs sorted by total descending, tie-break alphabetically by category.

Summary

Multiple result pages. One clean summary.

Practice This Problem

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

Related

  • All Practice Problems
  • Mock Interview Mode
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons