Showing 3 of 9 questions
Find the maximum difference between the frequencies of even and odd numbers in a subarray. You can choose any subarray to maximize this difference.
#1. Maximum Difference Between Even and Odd Frequency II
Given a set of words with associated costs, and a target caption, find the minimum cost to form a "good" caption from the given words. A "good" caption must contain all the required keywords.
#2. Minimum Cost Good Caption
You're given a grid of numbers and a threshold. Find the maximum side length of a square subgrid whose sum of elements is less than or equal to the given threshold.
#3. Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Page 1 of 1 · 9 total