Skip to content

An enhanced version of the Kadane Algorithm. Now, it also returns the range of maximum summing array apart from that sum.

License

Notifications You must be signed in to change notification settings

Mynk-9/Kadane_Enhanced

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kadane_Enhanced

An enhanced version of the Kadane Algorithm. Now, it also returns the range of maximum summing array apart from that sum.
This project was prepared back in March 2017, but released now.

Performance: It clearly outperforms the conventional Kadane's Algorithm. Benefit: User gets two benefits: (1) Better performance (2) Better result, i.e., apart from just the maximum sum, it also gives the range of that maximum summing subarray.

Files:

  1. main.cpp -- the file that I use(d) for testing.
  2. kadane_e.cpp -- that algorithm

About

An enhanced version of the Kadane Algorithm. Now, it also returns the range of maximum summing array apart from that sum.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages