RavenHursT / alien-alphabet-challenge

Algorithm and data-structure coding challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Alien Alphabet" Code Challenge

Fun exercise to sharpen one's coding skills.

Given a sorted "dictionary" of "alien" words, derive the order of the characters used.

Example:

Given the dictionary: ["baa", "abcd", "abca", "cab", "cad"]

The derived alphabet order would be: [ 'b', 'd', 'a', 'c' ]

Determined by use of topological graph sorting.

How to run:

$ npm i && npm run exec

About

Algorithm and data-structure coding challenge


Languages

Language:JavaScript 100.0%