Skip to content

jrbellido/wordchain-kata-19

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kata19: Word Chains

Solution implemented in JavaScript ES6 using Mocha for unit testing

More info at: https://codekata.com/kata/kata19-word-chains/

Used resources:

Usage

CLI:

$ npm install
$ node wordchain --begin cat --end dog

To run tests:

$ npm test

First version

  • cat-dog ≈ 17.724 seconds
  • ruby-code ≈ 734.867 seconds

Iteration #1

Using Immutable.js for some collections and iterating over them.

Improved performance:

  • cat-dog ≈ 3.223 seconds
  • ruby-code ≈ 33.001 seconds

About

Kata19: Word Chains

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published