1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-10 00:09:06 +01:00
Commit graph

43 commits

Author SHA1 Message Date
84ba9d343b
cpp: add «1669. Merge In Between Linked Lists»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-21 00:05:41 +01:00
c228a24b1a
cpp: add «525. Contiguous Array»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-17 23:39:17 +01:00
37d6c3400c
cpp: add «1171. Remove Zero Sum Consecutive Nodes from Linked List»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-12 23:49:58 +01:00
981c119d36
cpp: add «1609. Even Odd Tree»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-29 23:28:54 +01:00
482a94aa73
cpp: add «513. Find Bottom Left Tree Value»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-28 13:53:35 +01:00
c446face87
cpp: add «2709. Greatest Common Divisor Traversal»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-25 23:29:38 +01:00
5a9d218bcb
cpp: solve «2092. Find All People With Secret»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-24 23:46:13 +01:00
2cd90d0db7
cpp: try ‹2092. Find All People With Secret›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-24 23:24:11 +01:00
231b55ed58
chore(cpp): add GTest support
* Compile with ‹_MF_TEST› macro
* Link the GTest library

Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-24 23:23:12 +01:00
088cfb5560
cpp: add «2149. Rearrange Array Elements by Sign»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-14 19:08:21 +01:00
530181cf50
cpp: add «1463. Cherry Pickup II»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-11 22:41:02 +01:00
4299b5f85a
cpp: add «17. Letter Combinations of a Phone Number»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-11 00:28:37 +01:00
54667ca465
cpp: add «368. Largest Divisible Subset»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-10 00:18:45 +01:00
93ef2e6198
cpp: add «49. Group Anagrams»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-06 10:59:37 +01:00
e12d5fafdb
cpp: add «387. First Unique Character in a String»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-05 20:12:50 +01:00
058016d144
cpp: add «739. Daily Temperatures»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-31 11:55:10 +01:00
b71f3d7640
cpp: add «150. Evaluate Reverse Polish Notation»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-30 10:31:30 +01:00
3987abfd64
chore(cpp): add direnv with CXXFLAGS
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-30 10:31:10 +01:00
3f7519022a
cpp: add «1074. Number of Submatrices That Sum to Target»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-28 20:12:44 +01:00
421b783a60
cpp: add «1143. Longest Common Subsequence»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-26 00:47:54 +01:00
da19846d3f
cpp: add “1457. Pseudo-Palindromic Paths in a Binary Tree”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-24 09:27:08 +01:00
848381110f
cpp: add “1239. Maximum Length of a Concatenated String with Unique Characters”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-23 21:43:12 +01:00
0308502e2d
cpp: add “1800. Maximum Ascending Subarray Sum”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-22 23:27:47 +01:00
1266061643
cpp: add “645. Set Mismatch”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-22 11:36:20 +01:00
8d4eb729b4
cpp: add “1207. Unique Number of Occurrences”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-22 11:36:18 +01:00
3d625eaade
cpp: add “933. Number of Recent Calls”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-21 19:54:07 +01:00
1c9fea288f
cpp: add “198. House Robber”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-21 11:42:11 +01:00
0505779f3f
cpp: add “907. Sum of Subarray Minimums”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-20 23:16:24 +01:00
48eae7f00b
chore: run pre-commit
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-19 07:12:37 +01:00
744059e7b1
cpp: add “1026. Maximum Difference Between Node and Ancestor”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 15:19:44 +01:00
5f9d8d328b
cpp: add “2385. Amount of Time for Binary Tree to Be Infected”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-10 22:28:23 +01:00
30202920b0
cpp: add “938. Range Sum of BST”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-08 11:50:46 +01:00
b20b6b2d9a
cpp: add “1235. Maximum Profit in Job Scheduling”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 16:49:42 +01:00
4340c17b03
cpp: add “300. Longest Increasing Subsequence”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-05 23:42:43 +01:00
489d931f11
cpp: add “2870. Minimum Number of Operations to Make Array Empty”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-04 17:52:29 +01:00
b229608723
cpp(chore): add clang-format style and format
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-03 12:06:54 +01:00
2daade49c0
cpp: add “2125. Number of Laser Beams in a Bank”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-03 12:05:21 +01:00
f8f23de17e
cpp: add “2610. Convert an Array Into a 2D Array With Conditions”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-02 18:47:37 +01:00
9af5c9e61e
cpp: add “455. Assign Cookies”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-01 23:29:56 +01:00
c2916fdf5f
cpp: add “1637. Widest Vertical Area Between Two Points Containing No Points”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-12-22 00:12:18 +01:00
57a9ddef6f
cpp: add “242. Valid Anagram”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-12-17 18:36:53 +01:00
a48dd4765e
problems(cpp): add “1680. Concatenation of Consecutive Binary Numbers”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-12-12 14:46:33 +01:00
2351dfd0ee
chore: unwrap one layer
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-12-12 14:36:00 +01:00