Skip to content

dbrunst/three_word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Setup

ruby version 2.7.2p137
gem install rspec

#Run Tests

rspec ./specs/word_spec.rb
rspec ./specs/three_word_spec.rb

or to runn them all:
rspec ./specs/

#How to run program:

    ruby ./calculate_max.rb {file} {file}
    cat {dir/files} | ruby ./calculate_max.rb

#Next steps

  Make the word class more efficient - there is currently some unecessary repetition
  Handle more unicode characters
  Handle timeout better
  Add testing around file reading

#Bugs

  My numbers are slightly off from the example provided but can't seem to find an issue on my side
  three empty spaces are getting captured as words (16 times) that needs to be removed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages