Skip to content
This repository was archived by the owner on May 9, 2026. It is now read-only.

garettarrowood/alphabetize-in-esperanto-000

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tags collections, iteration, hashes, arrays, sorting, bonus
languages ruby
resources 2

Alphabetize in Esperanto

Introduction

Esperanto is one of the most popular international auxiliary languages. These are languages meant for communication between people from different nations who do not share a common native language.

Objective

Write a method that will take an array of strings and sort them alphabetically based on the Esperanto alphabet. The Esperanto alphabet is pretty similar to the English alphabet, as you can see:

ESPERANTO_ALPHABET = "abcĉdefgĝhĥijĵklmnoprsŝtuŭvz"

Example

For instance, the array below:

["mi amas vin", "bonan matenon", "pacon", "ĉu vi parolas esperanton"]

Should become:

["bonan matenon", "ĉu vi parolas esperanton", "mi amas vin", "pacon"]

If you'd like to know what these phrases or words translate to, translate them on Google Translate.

Hints

Think about how you would do this using the sort_by method.

Resources

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Ruby 100.0%