Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx28
var assert = require('assert');function wordLadder(begin, end, wordList) { // fill this in}try { assert.equal( wordLadder('bold', 'hope', [ 'hope', 'hole', 'bold', 'hold', 'cold', 'sold', 'dold', ]), 4 ); console.log( 'PASSED: ' + "`wordLadder('bold', 'hope', ['hope', 'hole', 'bold', 'hold', 'cold', 'sold', 'dold'])` should return `4`" );} catch (err) { console.log(err);}OUTPUT
Results will appear here.