The Long Way Around
A easy Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Problem
A batch job runs in a restricted runtime where the ordering built-ins are gone: no `sorted()`, no `list.sort()`, and no `min()` or `max()` to reach for. Given a list of integers `nums`, return them ordered smallest to largest.
Summary
Anyone can call the function. Order it by hand.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.