Skip to content

felipe-menelau/triangle-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

A simple triangle challenge solution. For simplicity and brevity's sake, the solution was made in python3 but it also runs in python2

By starting at the top of the triangle below and moving to adjacent numbers on the row below, the objective is to find the largest sum of numbers

Running the solution

Simply run

python challenge/main.py

You can change the input triangle at the main.py file

Tests

You can run the tests with

python -m unittest tests.test

License

This code runs under MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages