Loading...

The Pipeline Filter

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

Domain
Python
Difficulty
easy
Seniority
mid, senior

Problem

Write a function that takes a list of integers. Using only map() and filter() built-ins (no list comprehensions or explicit loops), return a new list containing only the even numbers, each multiplied by 2.

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.