Skip to content

[Kadane's] Maximum Subarray #59

@sudosf

Description

@sudosf

Problem

Given an integer array, find the subarray with the largest sum and return its sum.

References

Difficulty

🟡 Medium

Companies

Flipkart, Paytm, PhonePe

Notes

Language: Java
The baseline Kadane's problem. Implement from memory without referencing the template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    arraysArray problemskadaneKadane's algorithm / max subarraymediumMedium difficulty

    Projects

    Status
    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions