technojam/Ultimate_Algorithms_Repository

Kadane's Algorithm

开放

#305 创建于 2020年10月14日

 (0 条评论) (0 个反应) (0 位负责人)C++ (165 个派生)auto 404
hacktoberfest

仓库指标

星标
 (87 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Title or Name of the Algorithm :- Kadane’s Algorithm

Describe the algorithm It is an algorith used to calculate Largest Sum in Contiguous Subarray. Simple idea of the Kadane’s algorithm is to look for all positive contiguous segments of the array , And keep track of maximum sum contiguous segment among all positive segments. Algorithmic Paradigm: Dynamic Programming

贡献者指南