3287. Find the Maximum Sequence Value of Array
3287. Find the Maximum Sequence Value of Array
Description
You are given an integer array nums
and a positive integer k
.
3287. Find the Maximum Sequence Value of Array
You are given an integer array nums
and a positive integer k
.
3286. Find a Safe Walk Through a Grid
You are given an m x n
binary matrix grid
and an integer health
.
3283. Maximum Number of Moves to Kill All Pawns
There is a 50 x 50
chessboard with one knight and some pawns on it. You are given two integers kx
and ky
where (kx, ky)
denotes the position of the knight, and a 2D array positions
where positions[i] = [xi, yi] denotes the position of the pawns on the chessboard.
3281. Maximize Score of Numbers in Ranges
You are given an array of integers start
and an integer d
, representing n
intervals [start[i], start[i] + d]
.
3277. Maximum XOR Score Subarray Queries
You are given an array nums
of n
integers, and a 2D integer array queries
of size q
, where queries[i] = [li, ri].
3276. Select Cells in Grid With Maximum Score
You are given a 2D matrix grid
consisting of positive integers.
3273. Minimum Amount of Damage Dealt to Bob
You are given an integer power
and two integer arrays damage
and health
, both having length n
.