Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages