Counting in Finnish - MATLAB Cody - MATLAB Central

Problem 89. Counting in Finnish

Difficulty:Rate

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

71.99% Correct | 28.01% Incorrect
Last Solution submitted on Mar 16, 2025

Problem Comments

Solution Comments

Show comments

Group

Project Euler II Image
Project Euler II
  • 12 Problems
  • 51 Finishers

Problem Recent Solvers1665

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page