MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
Problem 574. Sort numbers by outside digits
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
1 player likes this solution
x = [12368933, 12345931, 68221, 533111, 3819999999999];
y_correct = [12345931, 12368933, 3819999999999, 533111, 68221];