1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-09 15:59:06 +01:00
LeetCode/cpp
Matej Focko c228a24b1a
cpp: add «525. Contiguous Array»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-17 23:39:17 +01:00
..
.clang-format chore: run pre-commit 2024-01-19 07:12:37 +01:00
.envrc chore(cpp): add GTest support 2024-02-24 23:23:12 +01:00
amount-of-time-for-binary-tree-to-be-infected.cpp cpp: add “2385. Amount of Time for Binary Tree to Be Infected” 2024-01-10 22:28:23 +01:00
assign-cookies.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
boats-to-save-people.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
calculate-money-in-leetcode-bank.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
can-place-flowers.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
cherry-pickup-ii.cpp cpp: add «1463. Cherry Pickup II» 2024-02-11 22:41:02 +01:00
concatenation-of-consecutive-binary-numbers.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
contiguous-array.cpp cpp: add «525. Contiguous Array» 2024-03-17 23:39:17 +01:00
convert-an-array-into-a-2d-array-with-conditions.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
count-good-nodes-in-binary-tree.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
count-negative-numbers-in-a-sorted-matrix.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
count-ways-to-build-good-strings.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
daily-temperatures.cpp cpp: add «739. Daily Temperatures» 2024-01-31 11:55:10 +01:00
design-parking-system.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
determine-if-two-strings-are-close.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
divide-a-string-into-groups-of-size-k.cpp chore: unwrap one layer 2023-12-12 14:36:00 +01:00
evaluate-reverse-polish-notation.cpp cpp: add «150. Evaluate Reverse Polish Notation» 2024-01-30 10:31:30 +01:00
even-odd-tree.cpp cpp: add «1609. Even Odd Tree» 2024-02-29 23:28:54 +01:00
find-all-people-with-secret.cpp cpp: solve «2092. Find All People With Secret» 2024-02-24 23:46:13 +01:00
find-bottom-left-tree-value.cpp cpp: add «513. Find Bottom Left Tree Value» 2024-02-28 13:53:35 +01:00
find-smallest-letter-greater-than-target.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
first-unique-character-in-a-string.cpp cpp: add «387. First Unique Character in a String» 2024-02-05 20:12:50 +01:00
greatest-common-divisor-traversal.cpp cpp: add «2709. Greatest Common Divisor Traversal» 2024-02-25 23:29:38 +01:00
group-anagrams.cpp cpp: add «49. Group Anagrams» 2024-02-06 10:59:37 +01:00
house-robber.cpp cpp: add “198. House Robber” 2024-01-21 11:42:11 +01:00
knight-dialer.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
kth-smallest-element-in-a-sorted-matrix.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
largest-divisble-subset.cpp cpp: add «368. Largest Divisible Subset» 2024-02-10 00:18:45 +01:00
largest-odd-number-in-string.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
letter-combinations-of-a-phone-number.cpp cpp: add «17. Letter Combinations of a Phone Number» 2024-02-11 00:28:37 +01:00
longest-common-subsequence.cpp cpp: add «1143. Longest Common Subsequence» 2024-01-26 00:47:54 +01:00
longest-increasing-subsequence.cpp cpp: add “300. Longest Increasing Subsequence” 2024-01-05 23:42:43 +01:00
matrix-diagonal-sum.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
max-sum-of-rectangle-no-larger-than-k.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
maximum-ascending-subarray-sum.cpp cpp: add “1800. Maximum Ascending Subarray Sum” 2024-01-22 23:27:47 +01:00
maximum-difference-between-node-and-ancestor.cpp cpp: add “1026. Maximum Difference Between Node and Ancestor” 2024-01-11 15:19:44 +01:00
maximum-length-of-a-concatenated-string-with-unique-characters.cpp cpp: add “1239. Maximum Length of a Concatenated String with Unique Characters” 2024-01-23 21:43:12 +01:00
maximum-profit-in-job-scheduling.cpp cpp: add “1235. Maximum Profit in Job Scheduling” 2024-01-06 16:49:42 +01:00
maximum-running-time-of-n-computers.cpp chore: unwrap one layer 2023-12-12 14:36:00 +01:00
maximum-value-at-a-given-index-in-a-bounded-array.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
merge-strings-alternately.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
middle-of-the-linked-list.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
minimum-flips-to-make-a-or-b-equal-to-c.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
minimum-moves-to-reach-target-score.cpp chore: unwrap one layer 2023-12-12 14:36:00 +01:00
minimum-number-of-operations-to-make-array-empty.cpp cpp: add “2870. Minimum Number of Operations to Make Array Empty” 2024-01-04 17:52:29 +01:00
mirror-reflection.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
my-calendar-i.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
n-ary-tree-level-order-traversal.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
n-ary-tree-preorder-traversal.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
number-of-laser-beams-in-a-bank.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
number-of-matching-subsequences.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
number-of-recent-calls.cpp cpp: add “933. Number of Recent Calls” 2024-01-21 19:54:07 +01:00
number-of-submatrices-that-sum-to-target.cpp cpp: add «1074. Number of Submatrices That Sum to Target» 2024-01-28 20:12:44 +01:00
numbers-with-same-consecutive-differences.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
out-of-boundary-paths.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
palindrome-linked-list.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
partition-list.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
pascals-triangle-ii.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
pascals-triangle.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
pseudo-palindromic-paths-in-a-binary-tree.cpp cpp: add “1457. Pseudo-Palindromic Paths in a Binary Tree” 2024-01-24 09:27:08 +01:00
range-sum-of-bst.cpp cpp: add “938. Range Sum of BST” 2024-01-08 11:50:46 +01:00
ransom-note.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
rearrange-array-elements-by-sign.cpp cpp: add «2149. Rearrange Array Elements by Sign» 2024-02-14 19:08:21 +01:00
remove-zero-sum-consecutive-nodes-from-linked-list.cpp cpp: add «1171. Remove Zero Sum Consecutive Nodes from Linked List» 2024-03-12 23:49:58 +01:00
removing-stars-from-a-string.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
reordered-power-of-2.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
rotate-image.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
same-tree.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
set-mismatch.cpp cpp: add “645. Set Mismatch” 2024-01-22 11:36:20 +01:00
snapshot-array.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
solving-questions-with-brainpower.cpp chore: unwrap one layer 2023-12-12 14:36:00 +01:00
sort-the-matrix-diagonally.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
spiral-matrix-ii.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
spiral-matrix.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
sum-of-absolute-differences-in-a-sorted-array.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
sum-of-subarray-minimums.cpp cpp: add “907. Sum of Subarray Minimums” 2024-01-20 23:16:24 +01:00
unique-number-of-occurrences.cpp cpp: add “1207. Unique Number of Occurrences” 2024-01-22 11:36:18 +01:00
unique-paths.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
utf-8-validation.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
valid-anagram.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
valid-parentheses.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
vertical-order-traversal-of-a-binary-tree.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00
widest-vertical-area-between-two-points-containing-no-points.cpp cpp(chore): add clang-format style and format 2024-01-03 12:06:54 +01:00