I Haz Codes

Exact matches only
Search in title
Search in content
Search in posts
Search in pages
Reverse me

A list of numbers has been entered into an array called data. The numbers are in reverse order (from largest to smallest).

data = [90,87,76,63,53,41,12,5]

Without changing the numbers inside the data array, display the numbers in the ascending order. (smallest to largest).

Note – You are not allowed to use sort().

You need to log in or create an account to submit code!

Comments are closed.