isogram

package
v0.0.0-...-f90b8d0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2017 License: MIT Imports: 1 Imported by: 0

README

Isogram

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.

Examples of isograms:

  • lumberjacks
  • background
  • downstream

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

To run the tests simply run the command go test in the exercise directory.

If the test suite contains benchmarks, you can run these with the -bench flag:

go test -bench .

For more detailed info about the Go track see the help page.

Source

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

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Documentation

Overview

Package isogram allows users to test whether or not a word is an isogram (doesn't have duplicate letters)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsIsogram

func IsIsogram(text string) bool

IsIsogram returns true iff the function has no repeated letters

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL