1. Maximum Product Subarrayhistorical

    Given an integer array nums, find the contiguous subarray with the largest product (the subarray contains at least one number) and return that product.

  2. Subarray Sum Equals Khistorical

    Given an integer array and an integer k, find the number of contiguous subarrays whose sum equals k.

  3. Maximal Squarehistorical

    In a 2D matrix consisting of '0' and '1', find the largest square containing only '1' and return its area.

  4. Daily Temperatureshistorical

    Given a list of daily temperatures, generate a new list where each position contains the minimum number of days you must wait to observe a warmer temperature.