Showing 3 of 3 questions
Calculate a new array where each element is the product of all numbers in the original array, excluding the number at that index. Do this efficiently without using division.
#1. Product of Array Except Self
You're given an array of numbers. Find the sum of the minimum values of all possible subarrays within that array.
#2. Sum of Subarray Minimums
Find the longest palindromic substring within a given string. A palindromic substring reads the same forwards and backward.
#3. Longest Palindromic Substring
Page 1 of 1 · 3 total