Frage im Vorstellungsgespräch bei MAQ Software

SQL queries Code for the largest subarray having maximum sum. logical Puzzle.