Isogram

Isogram

Easy

Instructions

Determine if a word or phrase is an isogram.

An isogram (also known as a "non-pattern word") is a word or phrase without a repeating letter, however spaces and hyphens are allowed to appear multiple times.

Examples of isograms:

  • lumberjacks
  • background
  • downstream
  • six-year-old

The word isograms, however, is not an isogram, because the s repeats.

There is a range of interesting data types in Pharo, it's worth taking the time to browse the hierarchy of class Collection and reading some of the class comments and running some of the examples.


Source

WikipediaThe link opens in a new window or tab
Edit via GitHub The link opens in a new window or tab
Pharo Exercism

Ready to start Isogram?

Sign up to Exercism to learn and master Pharo with 45 exercises, and real human mentoring, all for free.