Skip to content

Libary for calculate maximum total of the array triangle from top to bottom.

Notifications You must be signed in to change notification settings

evandropassos/helltriangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helltriangle

This gem have script for calculate the largest sum of a triangle.

Installation

Add this line to your application's Gemfile:

gem 'helltriangle'

And then execute:

$ bundle update

Or install it yourself as:

$ gem install helltriangle

Usage

Run command

Helltriangle::execute([[1],[1,2],[1,2,3]])

Tests

Run rspec to run the tests.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/evandropassos/helltriangle.

About

Libary for calculate maximum total of the array triangle from top to bottom.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published