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

337 commits

Author SHA1 Message Date
04ecc74e91
cs: add «1544. Make The String Great»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-04-05 18:10:34 +02:00
2c5ebe699d
chore: reorder languages in the choices for cz
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-04-04 23:10:21 +02:00
e1f7a646ae
cs: add «1614. Maximum Nesting Depth of the Parentheses»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-04-04 23:08:57 +02:00
49defb257e
cs: add «58. Length of Last Word»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-01 21:30:57 +02:00
a59eaa2eb4
cs: add «2444. Count Subarrays With Fixed Bounds»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-31 16:36:42 +02:00
ec5319c3fb
rs: add «992. Subarrays with K Different Integers»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-30 23:58:56 +01:00
87750598a3
rs: add «2962. Count Subarrays Where Max Element Appears at Least K Times»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-29 22:50:38 +01:00
34f92878c2
cpp: add «2958. Length of Longest Subarray With at Most K Frequency»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-29 00:11:12 +01:00
10e24a7593
cpp: add «713. Subarray Product Less Than K»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-27 22:10:03 +01:00
5c3727b0d9
rs: add «41. First Missing Positive»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-26 22:08:37 +01:00
48d437c878
rs: add «442. Find All Duplicates in an Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-25 12:40:33 +01:00
a56a328d6b
cs: add «287. Find the Duplicate Number»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-24 10:59:12 +01:00
54e3ac8c5a
cs: add «143. Reorder List»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-03-23 21:38:06 +01:00
7dc90ebe06
java: add «206. Reverse Linked List»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-21 10:42:25 +01:00
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
5549cdd7d8
rs: add «621. Task Scheduler»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-20 00:16:00 +01:00
5e51f2ba08
rs: add «452. Minimum Number of Arrows to Burst Balloons»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-19 00:01:48 +01:00
e9815ea0aa
cs: add «57. Insert Interval»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-18 00:12:11 +01:00
c228a24b1a
cpp: add «525. Contiguous Array»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-17 23:39:17 +01:00
15bd5cb743
cs: add «238. Product of Array Except Self»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-15 17:28:55 +01:00
4763cdbdda
chore(cs): format
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-15 17:22:58 +01:00
09d5c6dc4e
chore: add dotnet-format
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-15 17:21:45 +01:00
8717014c90
rs: add «930. Binary Subarrays With Sum»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-14 23:37:08 +01:00
8f865fa34c
rs: add «2485. Find the Pivot Integer»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-13 22:25:22 +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
dcbe6a126c
rs: add «791. Custom Sort String»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-11 23:09:50 +01:00
dbd0883d68
rs: add «349. Intersection of Two Arrays»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-10 22:23:40 +01:00
46088cf458
rs: add «2540. Minimum Common Value»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-09 11:39:50 +01:00
fe9f5ac9da
rs: add «3005. Count Elements With Maximum Frequency»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-08 19:59:26 +01:00
f65d94b769
go: add «876. Middle of the Linked List»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-07 23:00:05 +01:00
2d4ba86cbe
java: add «141. Linked List Cycle»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-06 23:05:20 +01:00
b9f735f1e8
java: add «1750. Minimum Length of String After Deleting Similar Ends»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-06 00:11:13 +01:00
4061ff562b
rs: add «948. Bag of Tokens»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-04 11:21:15 +01:00
a2bebb36df
go: add «19. Remove Nth Node From End of List»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-03 20:51:00 +01:00
f0cdb67ac1
chore(java): format
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-02 21:01:53 +01:00
c6dfb95ec0
ci(java): add pre-commit hook for formatting
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-02 20:59:59 +01:00
668057d19c
rs: add «977. Squares of a Sorted Array»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-02 12:57:58 +01:00
8d4fc53789
rs: add «2864. Maximum Odd Binary Number»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-01 19:01:09 +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
510ad47987
ci(cz): separate the input of number and problem name
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-29 23:28:16 +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
aabf7eda27
go: add «543. Diameter of Binary Tree»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-27 12:20:08 +01:00
778bcb1a2f
ci: adjust the commitizen config
* Reorder the languages based on the likelihood
* Add ‹style› to the possible options

Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-26 21:35:17 +01:00
e843e692eb
go: add «100. Same Tree»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-26 17:01:47 +01:00
ffef9f6188
go: add ‹package› to satisfy ‹gofmt›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-26 16:38:21 +01:00
18017bce64
ci(go): bump the pre-commit and add ‹gofmt›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-26 16:37:43 +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