Frage im Vorstellungsgespräch bei d-Matrix

dynamic programming to partition array with minimum sum difference.