Welcome to Day 18 of the DSA Coding Challenge:

Today's Goals (Kadane's Algorithm) :

Question 1: Max Subarray: Given an integer array nums, find the

subarray with the largest sum, and return its sum.

Question 2: Maximum Product SubarrayGiven an integer array nums, find a

subarray that has the largest product, and returnthe product.


All the best !