Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vitalikda/max-triangle-path


https://github.com/vitalikda/max-triangle-path

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Triangle Max Sum

This web app allows you to upload or paste a triangle of numbers and displays it along with the maximum sum of a path through the triangle.

### Usage

To use the app, simply visit the website and either upload a file containing a triangle of numbers, paste the triangle directly into the input field or prefill with an example. The triangle should be in the following format:

```
1
2 3
4 5 6
7 8 9 10
```

Once you have uploaded or pasted the triangle, the app will display it along with the maximum sum of a path through the triangle.

### TODO

- [ ] Refactor to use Turbo repo: move util functions into a module
- [ ] Improve Triangle Preview to show large elements that don't fit into the viewport

### Contributing

Contributions are welcome! To contribute, please fork the repository and submit a pull request.

### License

This project is licensed under the MIT License. See the LICENSE file for details.