Problem 61031. The MATLAB Treasure Hunt – Extract the Hidden Cave’s Coordinates from a Long List of Numbers

After decoding the first clue, you uncover another piece of parchment — a long list of numbers. At first glance, it looks random, but a faint drawing of a cave beside it hints that pairs of numbers represent (x, y) coordinates!
Given a row vector a containing an even number of elements, reshape it into a two-column matrix where each row represents one coordinate pair.
This will reveal the positions leading to the Hidden Cave, your next stop on the map.

Solution Stats

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

Solution Comments

Show comments