https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
Remove `n`th node from the tail of linked list. #medium
Remove `n`th node from the tail of linked list. #medium
👍4
https://leetcode.com/problems/bag-of-tokens/description/
Max
Max
score
converting power
to token[i]
and token[i]
to score
. #medium👍3
https://leetcode.com/problems/minimum-length-of-string-after-deleting-similar-ends/description/
Min length after trimming matching prefix-suffix several times. #medium
Min length after trimming matching prefix-suffix several times. #medium
👍2
https://leetcode.com/problems/count-elements-with-maximum-frequency/description/
Count of max-freq nums #easy
Count of max-freq nums #easy
👍4
https://leetcode.com/problems/minimum-common-value/description/
First common number in two sorted arrays #easy
First common number in two sorted arrays #easy
👍4
https://leetcode.com/problems/intersection-of-two-arrays/description/
Intersection of two nums arrays #easy
Intersection of two nums arrays #easy
👍3
https://leetcode.com/problems/custom-sort-string/description/
Construct string from
Construct string from
s
using order
#medium👍2
https://leetcode.com/problems/remove-zero-sum-consecutive-nodes-from-linked-list/description/
Remove consequent 0-sum items from a LinkedList #medium
Remove consequent 0-sum items from a LinkedList #medium
👍2
https://leetcode.com/problems/find-the-pivot-integer/description/
Pivot of
Pivot of
1..n
where sum[1..p] == sum[p..n]
. #easy👍3
https://leetcode.com/problems/binary-subarrays-with-sum/description/
Count
Count
goal
-sum subarrays in a 0-1
array #medium👍2
https://leetcode.com/problems/product-of-array-except-self/description/
Array of suffix-prefix products #medium
Array of suffix-prefix products #medium
👍2
https://leetcode.com/problems/contiguous-array/description/
Max length of subarray sum(0) == sum(1) #medium
Max length of subarray sum(0) == sum(1) #medium
👍2
https://leetcode.com/problems/insert-interval/description/
Insert interval into a sorted intervals array #medium
Insert interval into a sorted intervals array #medium
👍2
https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/description/
Count non-intersecting intervals #medium
Count non-intersecting intervals #medium
👍2
https://leetcode.com/problems/task-scheduler/description/
Count CPU cycles if task can't run twice in
Count CPU cycles if task can't run twice in
n
cycles #medium👍3
https://leetcode.com/problems/merge-in-between-linked-lists/description/
Replace a segment in a LinkedList #medium
Replace a segment in a LinkedList #medium
👍1
https://leetcode.com/problems/reorder-list/description/
Reorder Linked List
Reorder Linked List
1->2->3->4->5
-> 1->5->2->4->3
#medium👍2