pangram

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

Pangram

Determine if a sentence is a pangram.

Determine if a sentence is a pangram. A pangram (Greek: παν γράμμα, pan gramma, "every letter") is a sentence using every letter of the alphabet at least once. The best known English pangram is "The quick brown fox jumps over the lazy dog."

The alphabet used is ASCII, and case insensitive, from 'a' to 'z' inclusively.

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/Pangram

Submitting Incomplete Problems

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

Documentation

Overview

Package pangram helps users determine if an input sentence is a pangram

Index

Constants

View Source
const LETTERS string = "abcdefghijklmnopqrstuvwxyz"

Variables

This section is empty.

Functions

func IsPangram

func IsPangram(word string) bool

IsPangram checks if a sentence is a pangram

Types

This section is empty.

Jump to

Keyboard shortcuts

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