akshitagit / akshitagit/CPP

MAXIMUM SUBARRAY

オープン
#226 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
algorithms BEGINNER C C++ CPP enhancement feature good first issue hacktoberfest Hacktoberfest2020 up for grabs
主要言語
C++
スター
504
フォーク
436
PR マージ指標
30日以内にマージされた PR はありません

説明

**Description**
Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.

Example 1:

Input: nums = [-2,1,-3,4,-1,2,1,-5,4]
Output: 6
Explanation: [4,-1,2,1] has the largest sum = 6.
Example 2:

Input: nums = [1]
Output: 1

@akshitagit can I work on this program for this Hacktober fest?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。