mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-27 15:41:16 +08:00
Update READMEs.
This commit is contained in:
parent
294bd2acb7
commit
5ac85a230c
@ -6,6 +6,8 @@ which has the largest sum, where,
|
|||||||
|
|
||||||
![Maximum subarray](https://wikimedia.org/api/rest_v1/media/math/render/svg/e8960f093107b71b21827e726e2bad8b023779b2)
|
![Maximum subarray](https://wikimedia.org/api/rest_v1/media/math/render/svg/e8960f093107b71b21827e726e2bad8b023779b2)
|
||||||
|
|
||||||
|
![Maximum subarray](https://www.geeksforgeeks.org/wp-content/uploads/kadane-Algorithm.png)
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
The list usually contains both positive and negative numbers along
|
The list usually contains both positive and negative numbers along
|
||||||
@ -17,3 +19,4 @@ with the largest sum is `4, −1, 2, 1`, with sum `6`.
|
|||||||
|
|
||||||
- [Wikipedia](https://en.wikipedia.org/wiki/Maximum_subarray_problem)
|
- [Wikipedia](https://en.wikipedia.org/wiki/Maximum_subarray_problem)
|
||||||
- [YouTube](https://www.youtube.com/watch?v=ohHWQf1HDfU&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8)
|
- [YouTube](https://www.youtube.com/watch?v=ohHWQf1HDfU&list=PLLXdhg_r2hKA7DPDsunoDZ-Z769jWn4R8)
|
||||||
|
- [GeeksForGeeks](https://www.geeksforgeeks.org/largest-sum-contiguous-subarray/)
|
||||||
|
Loading…
Reference in New Issue
Block a user