Showing 3 of 5 questions
Given a matrix of integers, count how many submatrices that start from the top-left corner have a total sum less than or equal to a given target value.
#1. Count Submatrices with Top-Left Element and Sum Less Than k
You're given tasks of different lengths. Maximize the number of weeks you can work, ensuring you don't work on the same task for more than half the total weeks.
#2. Maximum Number of Weeks for Which You Can Work
Determine if a string can be rotated to match another string. You're essentially checking if one string is a shifted version of the other.
#3. Rotate String
Page 1 of 1 · 5 total