https://leetcode.com/problems/maximum-difference-between-node-and-ancestor/description/
Max diff between node and ancestor in a binary tree.
Max diff between node and ancestor in a binary tree.
👍3
https://leetcode.com/problems/determine-if-string-halves-are-alike/description/
Are
Are
aeiouAEIOU
count the same in the two halves of string.👍2
https://leetcode.com/problems/minimum-number-of-steps-to-make-two-strings-anagram/description/
Min operations to make string
Min operations to make string
t
anagram of s
.👍2
https://leetcode.com/problems/determine-if-two-strings-are-close/description/
Are strings convertible by swapping existing chars positions or frequencies.
Are strings convertible by swapping existing chars positions or frequencies.
👍2
https://leetcode.com/problems/find-players-with-zero-or-one-losses/description/
[sorted winners list, sorted single lose list]
[sorted winners list, sorted single lose list]
👍1
https://leetcode.com/problems/insert-delete-getrandom-o1/description/
Implement HashSet<Int> with
Implement HashSet<Int> with
random
method.👍1
https://leetcode.com/problems/unique-number-of-occurrences/description/
Are array frequencies unique.
Are array frequencies unique.
👍1
https://leetcode.com/problems/minimum-falling-path-sum/description/
Min sum moving bottom center, left, right in 2D matrix.
Min sum moving bottom center, left, right in 2D matrix.
👍1
https://leetcode.com/problems/sum-of-subarray-minimums/description
Sum of minimums of all array ranges.
Sum of minimums of all array ranges.
👍2
https://leetcode.com/problems/set-mismatch/description
Return missing and duplicated number in
Return missing and duplicated number in
1..n
array with one number replaced.👍4
https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters/description
Max length subsequence of strings array with unique chars.
Max length subsequence of strings array with unique chars.
👍3
https://leetcode.com/problems/pseudo-palindromic-paths-in-a-binary-tree/description/
Count can-form-a-palindrome paths root-leaf in a binary tree.
Count can-form-a-palindrome paths root-leaf in a binary tree.
👍4
https://leetcode.com/problems/longest-common-subsequence/description/
Longest common subsequence of two strings.
Longest common subsequence of two strings.
👍2
https://leetcode.com/problems/out-of-boundary-paths/description/
Number of paths from cell in grid to out of boundary.
Number of paths from cell in grid to out of boundary.
👍2
https://leetcode.com/problems/k-inverse-pairs-array/description
Number of arrays of
Number of arrays of
1..n
with k
reversed order pairs.👍3
https://leetcode.com/problems/number-of-submatrices-that-sum-to-target/description/
Count submatrix target sums.
Count submatrix target sums.
👍2
https://leetcode.com/problems/evaluate-reverse-polish-notation/description
Solve Reverse Polish Notation.
Solve Reverse Polish Notation.
👍2
https://leetcode.com/problems/daily-temperatures/description/
Array of distances to the next largest.
Array of distances to the next largest.
👍3