Skip to content

The solution to the popular maximum sum sub-array problem has been provided using the Dynamic Programming approach.

Notifications You must be signed in to change notification settings

mehboobali98/Maximum-Sum-SubArray-DP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maximum Sum Sub-Array Dynamic Programming

It is a problem in which we have to find a sub-array whose sum is maximum. The problem could be solved using:

  • Naive Approach
  • Divide and Conquer
  • Dynamic Programming

In this repository, the dynamic programming solution has been implemented in the main.cpp file.

Approach

The algorithm to solve the problem has been implemented using:

  • bottom-up (Dynamic Programming)

Directory Structure

📦Maximum-Sum-SubArray-DP
┣ 📜main.cpp
┗ 📜README.md

About

The solution to the popular maximum sum sub-array problem has been provided using the Dynamic Programming approach.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published