Cody

Problem 89. Counting in Finnish

Sort a vector of single digit whole numbers alphabetically by their name, in Finnish.

See the Wikipedia page for Finnish numerals for reference.

Example:

 Input a = [3 5 0]
 Output b is [3 0 5]

In Finnish 3 is kolme, 5 is viisi, and 0 is nolla. In alphabetic order of their Finnish spelling, these numbers would go kolme, nolla, viisi, or 3 0 5.

Solution Stats

57.48% Correct | 42.52% Incorrect
Last solution submitted on Nov 16, 2017

Problem Comments

Solution Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!