Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrTransformationNotPossible ¶
func ErrTransformationNotPossible() error
ErrTransformationNotPossible is returned when the start word can not be transformed into the end word, 1 letter at a time given the dictionary.
func ShortestTransformation ¶
ShortestTransformation returns the shortest possible sequence of transformations to reach 'end' from 'start' using the given dictionary. Runs in O(N^2) time. Assumes start, end and dictionary words are of the same length.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.