https://leetcode.com/problems/find-k-th-smallest-pair-distance/description/
`k`th smallest pairs diff in array #hard #binary_search #two_pointers
`k`th smallest pairs diff in array #hard #binary_search #two_pointers
👍1
https://leetcode.com/problems/maximum-distance-in-arrays/description/
Max diff between the arrays #medium
Max diff between the arrays #medium
👍2
https://leetcode.com/problems/maximum-number-of-points-with-cost/description/
Max top-down path sum with column diff in 2D matrix #medium #dynamic_programming
Max top-down path sum with column diff in 2D matrix #medium #dynamic_programming
👍2
https://leetcode.com/problems/ugly-number-ii/description/
`n`th number with only [1,2,3,5] multipliers #medium #heap
`n`th number with only [1,2,3,5] multipliers #medium #heap
👍3
https://leetcode.com/problems/2-keys-keyboard/description/
Min copy-pastes to make
Min copy-pastes to make
n
A
's from one #medium #dynamic_programming #math👍2
https://leetcode.com/problems/stone-game-ii/description/
Max Alice price taking 1..2m piles optimally with Bob #medium #dynamic_programming
Max Alice price taking 1..2m piles optimally with Bob #medium #dynamic_programming
👍2
https://leetcode.com/problems/strange-printer/description/
Minimum continuous replacements to make a string #hard #dynamic_programming
Minimum continuous replacements to make a string #hard #dynamic_programming
👍2
https://leetcode.com/problems/number-complement/description/
Invert bits:
Invert bits:
101
becomes 010
#easy #bit_manipulation👍3
https://leetcode.com/problems/fraction-addition-and-subtraction/description/
Eval string of fractions sum #medium #math
Eval string of fractions sum #medium #math
👍2
https://leetcode.com/problems/find-the-closest-palindrome/description/
Closest palindrome number #hard #math
Closest palindrome number #hard #math
👍3
https://leetcode.com/problems/binary-tree-postorder-traversal/description/
Postorder tree traversal #easy #binary_tree
Postorder tree traversal #easy #binary_tree
👍2
https://leetcode.com/problems/n-ary-tree-postorder-traversal/description/
Postorder tree traversal #easy #tree
Postorder tree traversal #easy #tree
👍2
https://leetcode.com/problems/path-with-maximum-probability/description/
Max path in a weighted graph #medium #graph
Max path in a weighted graph #medium #graph
👍2
https://leetcode.com/problems/count-sub-islands/description/
Count islands intersecting in both 2D grids #medium #dfs
Count islands intersecting in both 2D grids #medium #dfs
👍2
https://leetcode.com/problems/most-stones-removed-with-same-row-or-column/description/
Count islands of intersecting x and y #medium #union-find
Count islands of intersecting x and y #medium #union-find
👍2
https://leetcode.com/problems/modify-graph-edge-weights/description/
Assign vacant
Assign vacant
-1
weight in graph to make shorted path equal target
#hard #graph👍2
https://leetcode.com/problems/path-with-maximum-probability/description/
Max path in graph #medium #graph
Max path in graph #medium #graph
👍2
https://leetcode.com/problems/find-the-student-that-will-replace-the-chalk/description/
Position of a
Position of a
k
sum in a cyclic array #medium👍3