Loading...
Sort Descending
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
Problem
A reporting step needs values ranked from highest to lowest. Return a new list with the same elements sorted in descending order without modifying the original.
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.