https://leetcode.com/problems/counting-words-with-a-given-prefix/description/
Count words with prefix #easy
Count words with prefix #easy
👍3👎1
https://leetcode.com/problems/construct-k-palindrome-strings/description/
Can make
Can make
k
palindromes from string? #medium👍2
https://leetcode.com/problems/check-if-a-parentheses-string-can-be-valid/description/
Balance parenthesis with wildcards #medium
Balance parenthesis with wildcards #medium
👍3
https://leetcode.com/problems/minimum-length-of-string-after-operations/description/
Length after removing repeatings > 2 #medium
Length after removing repeatings > 2 #medium
👍2
https://leetcode.com/problems/find-the-prefix-common-array-of-two-arrays/description/
A[..i] and B[..i] intersections sizes #medium #counting
A[..i] and B[..i] intersections sizes #medium #counting
👍2
https://leetcode.com/problems/minimize-xor/description/
Min xor with num1, bits count of num2 #medium
Min xor with num1, bits count of num2 #medium
👍2
https://leetcode.com/problems/bitwise-xor-of-all-pairings/description/
Xor of all pairs xors #medium #xor
Xor of all pairs xors #medium #xor
👍5
https://leetcode.com/problems/neighboring-bitwise-xor/description/
Can restore next-sibl-xored array? #medium #xor
Can restore next-sibl-xored array? #medium #xor
👍3
https://leetcode.com/problems/minimum-cost-to-make-at-least-one-valid-path-in-a-grid/description/
Min undirected jumps to reach the end in grid #hard #bfs
Min undirected jumps to reach the end in grid #hard #bfs
👍3
https://leetcode.com/problems/trapping-rain-water-ii/description/
Trap the water in 2D height matrix #hard #bfs
Trap the water in 2D height matrix #hard #bfs
👍3
https://leetcode.com/problems/first-completely-painted-row-or-column/description/
Index of first filled row/column in 2D matrix #medium #counting
Index of first filled row/column in 2D matrix #medium #counting
👍2
https://leetcode.com/problems/count-servers-that-communicate/description/
Connected servers by row or column #medium
Connected servers by row or column #medium
👍1
https://leetcode.com/problems/find-eventual-safe-states/description/
Nodes without cycles #medium #dfs #toposort
Nodes without cycles #medium #dfs #toposort
👍2
https://leetcode.com/problems/make-lexicographically-smallest-array-by-swapping-elements/description/
Sort by swapping ab, where abs(a - b) < limit #medium
Sort by swapping ab, where abs(a - b) < limit #medium
👍2
https://leetcode.com/problems/maximum-employees-to-be-invited-to-a-meeting/description/
Max connected siblings in graph #hard #dfs #toposort
Max connected siblings in graph #hard #dfs #toposort
👍4
https://leetcode.com/problems/course-schedule-iv/description/
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
All innodes for each query in graph #medium #dfs #toposort #floyd_warshall
👍2
https://leetcode.com/problems/maximum-number-of-fish-in-a-grid/description/
Largest region in 2D grid #medium #bfs #dfs
Largest region in 2D grid #medium #bfs #dfs
👍3
https://leetcode.com/problems/redundant-connection/description/
First edge making a cycle in graph #medium #union_find
First edge making a cycle in graph #medium #union_find
👍2