Skip to content

maximum sum of non neighbours in a list

Latest
Compare
Choose a tag to compare
@jpshivakavi jpshivakavi released this 10 May 06:14
· 3 commits to master since this release
a152ae9

This is the first release of the python script which calculates the maximum sum of non neighbours in a given list.
The list can contain positive and or negative items.
Along with the maximum sum, the script also returns the elements that make up the maximum sum.