Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to find Maximum sum of SubArray #135

Open
Suchit1938 opened this issue Oct 21, 2024 · 1 comment
Open

Code to find Maximum sum of SubArray #135

Suchit1938 opened this issue Oct 21, 2024 · 1 comment
Assignees
Labels

Comments

@Suchit1938
Copy link
Contributor

Given an integer array nums, find the
SubArray(A subarray is a contiguous non-empty sequence of elements within an array)
with the largest sum, and return its sum.

Brute Froce code Time Complexity:- O(n2)
Kedan's Algorithm Time Complexity :- O(n)

@Suchit1938
Copy link
Contributor Author

Plz, assign the issue to me. As, i eager to contribute under hacktoberfest and also add hacktoberfest tag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants