Problem 431. Indirect Sorting
51.11% Correct | 48.89% Incorrect
Last Solution submitted on May 14, 2023
Abdelhak ARESMOUK on 14 Dec 2012
Please! Can you explain more than that?
Jonathan Campelli on 19 May 2015
Aye! The first column is not "sorted according the second column" (only half an explanation). The block of numbers in each row is treated as a fixed unit, and each row is rearranged such that the values in the second column are sorted in ascending order.
Solution CommentsShow comments
Problem Recent Solvers288
Return the 3n+1 sequence for n
More from this Author1
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!