Problem 61030. The MATLAB Treasure Hunt – Decode the First Clue Hidden in a Jumbled Sequence of Numbers

You discover an ancient parchment inside the college archives. It contains a jumbled sequence of numbers that seems meaningless — until you notice faint MATLAB-like symbols next to it!
Your first task is to decode the clue by arranging the numbers in ascending order. The smallest number might mark the beginning of the treasure trail.
Given a row vector a, return another vector b containing all elements of a sorted in increasing order.

Solution Stats

73.33% Correct | 26.67% Incorrect
Last Solution submitted on Oct 23, 2025

Solution Comments

Show comments