HF RL Explorer

word games: implement stub

word games: implement stub: a task in smol-software-harbor (Harbor dataset). Ladder.neighbors in lib/ladder.rb is a stub, so the word-ladder solver cannot run. Implement it: return the words of the dictionary that have the same length as word and differ from it in exactly one position, sorted…

The task

`Ladder.neighbors` in `lib/ladder.rb` is a stub, so the word-ladder solver cannot run. Implement it: return the words of the dictionary that have the same length as `word` and differ from it in exactly one position, sorted alphabetically (the word itself is not a neighbour). Run `ruby -Ilib test/ladder_test.rb`.

Part of efederici/smol-software-harbor.