Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zangrandi/word_finder

word_finder
https://github.com/zangrandi/word_finder

Last synced: 30 days ago
JSON representation

word_finder

Awesome Lists containing this project

README

        

# word_finder

Answer to the *2 hour test* applied for Ruby Developer candidates of Fusioneer company.

##The problem:

> Using Ruby, generate an N x N grid, where N can be any number, and randomly populate the grid with letters (A-Z).

> Using the provided dictionary file find all:
>
> Horizontal words from left to right in your grid
> Horizontal words from right to left in your grid
> Vertical words from top to bottom in your grid
> Vertical words from bottom to top in your grid
> Diagonal words from left to right in your grid
> Diagonal words from right to left in your grid
> If possible, provide unit tests.