Cody

Problem 70. Alphabetize by last name

Given a list of names in a cell array, sort the list by the last name. So if

 list = {'Barney Google','Snuffy Smith','Dagwood Bumstead'}; 

then the output is

 alpha_list = {'Dagwood Bumstead','Barney Google','Snuffy Smith'}

Solution Stats

31.66% Correct | 68.34% Incorrect
Last Solution submitted on Jun 06, 2020

Problem Comments

Solution Comments


Problem Recent Solvers1111

Problem Tags