Skip to content

Releases: jpshivakavi/python_programs

maximum sum of non neighbours in a list

10 May 06:14
a152ae9
Compare
Choose a tag to compare

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.