The Second Summit
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L3
Problem
Given a list of integers with at least two distinct values, return the second-largest distinct value. Do NOT use sort, sorted, min, or max.
Summary
Not the top of the mountain - just below it.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.