3393. Count Paths With the Given XOR Value
3393. Count Paths With the Given XOR Value
Description
You are given a 2D integer array grid
with size m x n
. You are also given an integer k
.
3393. Count Paths With the Given XOR Value
You are given a 2D integer array grid
with size m x n
. You are also given an integer k
.
3387. Maximize Amount After Two Days of Conversions
You are given a string initialCurrency
, and you start with 1.0
of initialCurrency
.
3386. Button with Longest Push Time
You are given a 2D array events
which represents a sequence of events where a child pushes a series of buttons on a keyboard.
981. Time Based Key-Value Store
Design a time-based key-value data structure that can store multiple values for the same key at different time stamps and retrieve the key’s value at a certain timestamp.
973. K Closest Points to Origin
Given an array of points
where points[i] = [xi, yi] represents a point on the X-Y plane and an integer k
, return the k
closest points to the origin (0, 0)
.
1899. Merge Triplets to Form Target Triplet
A triplet is an array of three integers. You are given a 2D integer array triplets
, where triplets[i] = [ai, bi, ci] describes the i^th
triplet . You are also given an integer array target = [x, y, z]
that describes the triplet you want to obtain.
1851. Minimum Interval to Include Each Query
You are given a 2D integer array intervals
, where intervals[i] = [lefti, righti] describes the i^th
interval starting at lefti and ending at righti (inclusive) . The size of an interval is defined as the number of integers it contains, or more formally righti - lefti + 1.
435. Non-overlapping Intervals
Given an array of intervals intervals
where intervals[i] = [starti, endi], return the minimum number of intervals you need to remove to make the rest of the intervals non-overlapping.
417. Pacific Atlantic Water Flow
There is an m x n
rectangular island that borders both the Pacific Ocean and Atlantic Ocean . The Pacific Ocean touches the island’s left and top edges, and the Atlantic Ocean touches the island’s right and bottom edges.