Loading...

No Shortcuts

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

Domain
Python
Difficulty
easy
Seniority
staff

Problem

The scoring engine in our sandboxed execution environment needs a custom max function. Write a function that finds and returns the maximum value in a list of numbers without the built-in max(). Return None if the list is empty.

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.