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

https://github.com/gablemathias/substrings


https://github.com/gablemathias/substrings

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# Substrings

Implement a method #substrings that takes a word as the first argument and then
an array of valid substrings (your dictionary) as the second argument. It should
return a hash listing each substring (case insensitive) that was found in the original
string and how many times it was found.