technojam/Ultimate_Algorithms_Repository

Kadane's Algorithm

Ouverte

#305 ouverte le 14 oct. 2020

 (0 commentaire) (0 réaction) (0 personne assignée)C++ (165 forks)auto 404
hacktoberfest

Métriques du dépôt

Stars
 (87 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur