https://leetcode.com/problems/number-of-atoms/description/
Simplify chemical formula parenthesis #hard #stack
Simplify chemical formula parenthesis #hard #stack
👍2
https://leetcode.com/problems/create-binary-tree-from-descriptions/description/
Restore binary tree from
Restore binary tree from
[parent, child, isLeft]
#medium👍3
https://leetcode.com/problems/step-by-step-directions-from-a-binary-tree-node-to-another/description/
U
-L
-R
path from s
to d
in a Binary Tree #medium #tree👍3
https://leetcode.com/problems/delete-nodes-and-return-forest/description/
Trees after remove nodes from tree #medium #tree
Trees after remove nodes from tree #medium #tree
👍3
https://leetcode.com/problems/number-of-good-leaf-nodes-pairs/description/
Count at most
Count at most
distance
paths between leafs #medium #tree👍2
https://leetcode.com/problems/lucky-numbers-in-a-matrix/description/
Min in rows and max in columns in a unique number matrix #easy
Min in rows and max in columns in a unique number matrix #easy
👍3
https://leetcode.com/problems/find-valid-matrix-given-row-and-column-sums/description/
Matrix from rows and cols sums #medium
Matrix from rows and cols sums #medium
👍3
https://leetcode.com/problems/build-a-matrix-with-conditions/description/
Build a matrix from a graph conditions #hard #graph #toposort
Build a matrix from a graph conditions #hard #graph #toposort
👍3
https://leetcode.com/problems/sort-array-by-increasing-frequency/description/
Sort by frequency or descending #easy
Sort by frequency or descending #easy
👍3
https://leetcode.com/problems/sort-the-jumbled-numbers/description/
Sort array by digits mapping #medium
Sort array by digits mapping #medium
👍2
https://leetcode.com/problems/find-the-city-with-the-smallest-number-of-neighbors-at-a-threshold-distance/description/
Node with minimum neighbours by
Node with minimum neighbours by
distanceThreshold
#medium #bfs #FloydWarshall👍2
https://leetcode.com/problems/minimum-cost-to-convert-string-i/description/
Min cost to change source to target #medium #FloydWarshall
Min cost to change source to target #medium #FloydWarshall
👍2
https://leetcode.com/problems/second-minimum-time-to-reach-destination/description/
Second min time to travel from
Second min time to travel from
1
to n
in time
-edged graph stopping every change
seconds #hard #graph #bfs👍2
https://leetcode.com/problems/count-number-of-teams/description/
Count increasing or decreasing
Count increasing or decreasing
(i, j, k)
#medium👍2
https://leetcode.com/problems/minimum-deletions-to-make-string-balanced/description/
Min removals to sort 'ab' string #medium
Min removals to sort 'ab' string #medium
👍1
https://leetcode.com/problems/filling-bookcase-shelves/description/
Min total height to split
Min total height to split
[[w,h]]
array by shelfWidth
#medium #dynamic_programming👍2
https://leetcode.com/problems/number-of-senior-citizens/description/
Count filtered by a substring #easy
Count filtered by a substring #easy
👍3
https://leetcode.com/problems/minimum-swaps-to-group-all-1s-together-ii/description/
Min swaps to make a circular [01] array #medium #sliding_window
Min swaps to make a circular [01] array #medium #sliding_window
👍3