Skip to content

jags84/phrases

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Phrases

Given two array of strings, the first with phrases, the second with words, we need two know what is the longest phrase that could be formed with a collection of words.

Run

Change #run section params in the phrases.rb file and run from console

ruby phrases.rb

Test

ruby phrases_test.rb

Enviroment

  1. Ruby 2.4.2
  2. Minitest