leetle

Daily challenge for 2025-07-07

188. Reverse List

Write a function solve that takes a list of integers and returns a new list with the elements in reverse order. Do not modify the original list.

Example:
Input: [1, 2, 3]
Output: [3, 2, 1]

Run this challenge interactively in Python or JavaScript when the app loads.