https://leetcode.com/problems/sum-of-all-subset-xor-totals/description/
Sum of subsets xors #easy #dfs #backtracking
Sum of subsets xors #easy #dfs #backtracking
👍1🔥1
https://leetcode.com/problems/palindrome-partitioning/description/
All palindrome partitions #medium #dfs #dynamic_programming
All palindrome partitions #medium #dfs #dynamic_programming
👍2🥰1
https://leetcode.com/problems/the-number-of-beautiful-subsets/description/
Count subsets without
Count subsets without
k
difference in them #medium #dfs #backtracking👍1🔥1
https://leetcode.com/problems/maximum-score-words-formed-by-letters/description/
Max score of words subset from letters #hard #backtracking #dfs
Max score of words subset from letters #hard #backtracking #dfs
👍1🔥1
https://leetcode.com/problems/word-break-ii/description/
All string splits with dictionary #hard #dfs #dynamic_programming
All string splits with dictionary #hard #dfs #dynamic_programming
🔥3👍2
https://leetcode.com/problems/student-attendance-record-ii/description/
N times: A -> LP, L -> AP, P -> AL, at most one A, no LLL #hard #dynamic_programming
N times: A -> LP, L -> AP, P -> AL, at most one A, no LLL #hard #dynamic_programming
👍3🔥1
https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x/description/
Count of more or equal nums[i] equal itself #easy
Count of more or equal nums[i] equal itself #easy
👍3🔥1
https://leetcode.com/problems/get-equal-substrings-within-budget/description/
Max substring
Max substring
sum(abs(s[..] - t[..])) < maxCost
#medium #sliding_window👍2🔥1
https://leetcode.com/problems/number-of-steps-to-reduce-a-number-in-binary-representation-to-one/description/
Steps
Steps
even/2
, odd+1
to make binary s
to 1
#medium👍3🔥2
https://leetcode.com/problems/count-triplets-that-can-form-two-arrays-of-equal-xor/description/
Number
Number
(i,j,k)
where xor arr[i..j] = xor arr[j..k]
#medium #bit_manipulation👍2🔥1
https://leetcode.com/problems/single-number-iii/description/
Two not duplicated numbers from array #medium #bit_manipulation
Two not duplicated numbers from array #medium #bit_manipulation
👎2👍1🔥1
https://leetcode.com/problems/append-characters-to-string-to-make-subsequence/description/
Min diff to make
Min diff to make
t
substring of s
#medium👍2🔥1