Cody

Problem 574. Sort numbers by outside digits

Solution 915732

Submitted on 28 Jun 2016 by hubert andre
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = [12368933, 12345931, 68221, 533111, 3819999999999]; y_correct = [12345931, 12368933, 3819999999999, 533111, 68221]; assert(isequal(your_fcn_name(x),y_correct))

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!