Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zangrandi/word_finder
word_finder
https://github.com/zangrandi/word_finder
Last synced: 30 days ago
JSON representation
word_finder
- Host: GitHub
- URL: https://github.com/zangrandi/word_finder
- Owner: zangrandi
- Created: 2015-03-17T18:17:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-17T18:31:20.000Z (almost 10 years ago)
- Last Synced: 2024-11-08T05:31:08.532Z (3 months ago)
- Language: Ruby
- Homepage:
- Size: 1.74 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.