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
Problem Comments
-
3 Comments
Jihye Sofia Seo
on 12 Feb 2017
funny
fatma uysal
on 9 Mar 2018
Nice
Xiaotao REN
on 10 Oct 2019
Interesting
Solution Comments
Show commentsProblem Recent Solvers1699
Suggested Problems
-
Remove any row in which a NaN appears
8655 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2324 Solvers
-
Sum of first n terms of a harmonic progression
444 Solvers
-
Matrix indexing with two vectors of indices
734 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1977 Solvers
More from this Author96
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!