Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/randhir200/marathon
You take part in a marathon, and there are many different points from where you can start running (named from 0); at each point, there is a counter for energy drinks. Not all energy drinks are the same; every one of them gives you a different amount of energy. With one unit of energy, you can only run 1 km, and the starting points are located randomly, so the distance between them is not fixed. Assume that at the start of the marathon, you're exhausted. So you want to find the point from which you should start running so that you complete the whole marathon.
https://github.com/randhir200/marathon
Last synced: 1 day ago
JSON representation
You take part in a marathon, and there are many different points from where you can start running (named from 0); at each point, there is a counter for energy drinks. Not all energy drinks are the same; every one of them gives you a different amount of energy. With one unit of energy, you can only run 1 km, and the starting points are located randomly, so the distance between them is not fixed. Assume that at the start of the marathon, you're exhausted. So you want to find the point from which you should start running so that you complete the whole marathon.
- Host: GitHub
- URL: https://github.com/randhir200/marathon
- Owner: Randhir200
- Created: 2022-05-29T10:47:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-31T23:38:27.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T03:46:59.191Z (about 2 months ago)
- Language: JavaScript
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files: