https://github.com/gablemathias/substrings
https://github.com/gablemathias/substrings
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gablemathias/substrings
- Owner: gablemathias
- Created: 2022-11-12T11:07:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-21T21:22:20.000Z (over 3 years ago)
- Last Synced: 2025-01-01T06:22:40.137Z (over 1 year ago)
- Language: Ruby
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.