โ๏ธ Your Code
Write a function that takes an array of numbers as input and
returns a new array. You can use console.log for debugging.
Language
Input array
Reference algorithm
Tip: The function must be named solve and accept
(input, console) as parameters.
๐งพ Output
๐ Comparison
Select a reference algorithm and click "Compare with reference" to see if your output matches.