Loading...

The Number Miner

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

You receive a list of JSON-formatted strings, each containing various fields. Extract every numeric value (integers only) from all strings combined and return a dictionary mapping each number to its total count across all strings. Ignore any non-numeric values.

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.