Loading...
The Target Hunt
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- senior
Problem
A reconciliation pipeline needs to match transactions that sum to a target amount. Each transaction can only be used once, and matches should be reported in the order they are found. Write a function that returns all unique pairs of numbers from a list that sum to a given target.
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.