Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vitalikda/max-triangle-path
https://github.com/vitalikda/max-triangle-path
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vitalikda/max-triangle-path
- Owner: vitalikda
- License: mit
- Created: 2023-07-27T16:25:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-28T13:34:19.000Z (over 1 year ago)
- Last Synced: 2023-08-03T09:57:01.662Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://max-triangle-path.vercel.app
- Size: 188 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.