hashtable
049.Group-Anagrams (M+) 149.Max-Points-on-a-Line (H) 166.Fraction-to-Recurring-Decimal (M) 170.Two-Sum-III-Data-structure-design (M) 392.Is-Subsequence (H-) 204.Count Primes (M) 274.H-Index (H) 325.Maximum-Size-Subarray-Sum-Equals-k (M) 409.Longest-Palindrome (M) 447.Number-of-Boomerangs (E+) 438.Find-All-Anagrams-in-a-String (M+) 356.Line-Reflection (H-) 594.Longest-Harmonious-Subsequence (M+) 532.K-diff-Pairs-in-an-Array (E+) 424.Longest-Repeating-Character-Replacement (H) 446.Arithmetic-Slices-II-Subsequence (H) 128.Longest-Consecutive-Sequence (H-) 753.Cracking-the-Safe (H) 890.Find-and-Replace-Pattern (M+) 939.Minimum-Area-Rectangle (M+) 982.Triples-with-Bitwise-AND-Equal-To-Zero (M+) (TBD) 1074.Number-of-Submatrices-That-Sum-to-Target (M+) 1224.Maximum-Equal-Frequency (H-) 1487.Making-File-Names-Unique (M+)
Think out solution in 10 minutes. https://expl.ai/MYVQNNA
Have the following error message:
Does not mod number in edge case
Whether expected result is integer or float
Hash+Prefix
Reviewed
Todo
930.Binary-Subarrays-With-Sum (M) 1442.Count-Triplets-That-Can-Form-Two-Arrays-of-Equal-XOR (H-) 1524.Number-of-Sub-arrays-With-Odd-Sum (M) 974.Subarray-Sums-Divisible-by-K (M) 1590.Make-Sum-Divisible-by-P (M+) 1658.Minimum-Operations-to-Reduce-X-to-Zero (M) 1371.Find-the-Longest-Substring-Containing-Vowels-in-Even-Counts (H-) 1542.Find-Longest-Awesome-Substring (H-) 1915.Number-of-Wonderful-Substrings (M+) 1983.Widest-Pair-of-Indices-With-Equal-Range-Sum (M+)
Last updated