https://leetcode.com/problems/number-of-students-unable-to-eat-lunch/description/
First sandwitch not eaten by any while popped from a queue #easy
First sandwitch not eaten by any while popped from a queue #easy
👍1
https://leetcode.com/problems/time-needed-to-buy-tickets/description/
Seconds to buy tickets by
Seconds to buy tickets by
k
-th person in a rotating 1 second queue #easy👍2
This media is not supported in your browser
VIEW IN TELEGRAM
Congrats for all passing 100 Days💯
👍2🎉1🐳1
https://leetcode.com/problems/reveal-cards-in-increasing-order/description/
Sort cards by rules: take top, next goes bottom #medium
Sort cards by rules: take top, next goes bottom #medium
👍2
https://leetcode.com/problems/remove-k-digits/description/
Minimum number after removing
Minimum number after removing
k
digits #medium👍2❤1
https://leetcode.com/problems/trapping-rain-water/description/
Trap the water in area between vertical walls #hard
Trap the water in area between vertical walls #hard
👍2
https://leetcode.com/problems/sum-root-to-leaf-numbers/description/
Sum root-leaf numbers in a Binary Tree #medium
Sum root-leaf numbers in a Binary Tree #medium
👍2
https://leetcode.com/problems/add-one-row-to-tree/description/
Insert nodes at the
Insert nodes at the
depth
of the Binary Tree #medium👍2
https://leetcode.com/problems/smallest-string-starting-from-leaf/description/
Smallest string from
Smallest string from
leaf
to root
in a Binary Tree #medium👍1
https://leetcode.com/problems/island-perimeter/description/
Perimeter of
Perimeter of
1
's islands in 01
-matrix #easy👍1
https://leetcode.com/problems/number-of-islands/description/
Count
Count
1
-islands in 0-1
a 2D matrix #medium👍1
https://leetcode.com/problems/find-all-groups-of-farmland/description/
Count
Count
1
-rectangles in 0-1
2D matrix #medium👍1
https://leetcode.com/problems/find-if-path-exists-in-graph/description/
Are
Are
source
and destination
connected in graph? #easy👍1
https://leetcode.com/problems/open-the-lock/description/
Steps to rotate 4-wheel
Steps to rotate 4-wheel
0000
-> target #medium #bfs #deque👍1
https://leetcode.com/problems/minimum-height-trees/description/
Center of an acyclic graph #medium #graph #toposort
Center of an acyclic graph #medium #graph #toposort
👍2
https://leetcode.com/problems/n-th-tribonacci-number/description/
`n`th Tribonacci number f(n + 3) = f(n) + f(n + 1) + f(n + 2) #easy
`n`th Tribonacci number f(n + 3) = f(n) + f(n + 1) + f(n + 2) #easy
👍2
https://leetcode.com/problems/longest-ideal-subsequence/description/
Max length of less than
Max length of less than
k
adjucent subsequence #medium #dynamic_programming👍1
https://leetcode.com/problems/minimum-falling-path-sum-ii/description/
Min non-direct path top down in a 2D matrix #hard #dynamic_programming
Min non-direct path top down in a 2D matrix #hard #dynamic_programming
👍1