Skip to content

CPEN-221/practice8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Practice 8: Isograms

Determine if a word or phrase is an isogram.

An isogram (also known as a "nonpattern 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.

Tips

I recommend that you add tests that use accented characters such as ë. If such tests fail even though you think you've implemented the method correctly, this could be because of the JVM encoding. Try setting the JAVA_TOOL_OPTIONS environment variable to -Dfile.encoding=UTF8 to fix this.

Source

Wikipedia https://en.wikipedia.org/wiki/Isogram.

About

Practice 8: Isograms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages