Given a sorted list of words of some unknown language, deduce the alphabet.
C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Alphabet.h
Graph.h
Makefile
README.mdown
incomplete.txt
inconsistent.txt
main.cpp
names.txt
words.txt

README.mdown

Given a sorted list of words of some unknown language, deduce the alphabet. Detect the situations when the alphabet could not be deduced due to either insufficient or inconsistent data.

This was given to me as part of a technical interview. I spent three evenings solving it.