https://leetcode.com/problems/daily-temperatures/description/
Array of distances to the next largest.
Array of distances to the next largest.
👍3
https://leetcode.com/problems/divide-array-into-arrays-with-max-difference/description
Split array into tripples with at most
Split array into tripples with at most
k
difference.👍3
https://leetcode.com/problems/sequential-digits/description
Numbers with sequential digits in
Numbers with sequential digits in
low..high
range.👍4
https://leetcode.com/problems/partition-array-for-maximum-sum/description/
Max sum of partition array into chunks size of at most
Max sum of partition array into chunks size of at most
k
filled with max value in chunk.👍3
https://leetcode.com/problems/minimum-window-substring/description
Minimum window of
Minimum window of
s
including all chars of t
.👍3
https://leetcode.com/problems/first-unique-character-in-a-string/description/
First non-repeating char position.
First non-repeating char position.
👍3👎1
https://leetcode.com/problems/sort-characters-by-frequency/description
Sort string by char's frequencies.
Sort string by char's frequencies.
👍5
https://leetcode.com/problems/largest-divisible-subset/description
Longest subset of divisible by
Longest subset of divisible by
s[i] % s[j] == 0 || s[j] % s[i] == 0
.👍1👎1
https://leetcode.com/problems/cherry-pickup-ii/description/
Maximum paths sum of two robots top-down in XY grid.
Maximum paths sum of two robots top-down in XY grid.
👍3
https://leetcode.com/problems/rearrange-array-elements-by-sign/description/
Rearrange array to positive-negative sequence.
Rearrange array to positive-negative sequence.
👍3
https://leetcode.com/problems/find-polygon-with-the-largest-perimeter/description/
The largest subset
The largest subset
sum(a[..i]) > a[i + 1]
where a
is a subset of array.👍3
https://leetcode.com/problems/least-number-of-unique-integers-after-k-removals/description
Min uniq count after removing
Min uniq count after removing
k
numbers.👍3
https://leetcode.com/problems/furthest-building-you-can-reach/description
Max index to climb
Max index to climb
diff = a[i +1] - a[i] > 0
using bricks -= diff
and ladders--
for each.👍3