Loading...

Left Join

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium

Problem

Our pipeline needs a left join between two in-memory datasets keyed on a shared field. Keep all records from the left list, attaching matching fields from the right list. If no right-side match exists, omit those fields rather than adding None keys.

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.