Commit graph

576 commits

Author SHA1 Message Date
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
d924020c46
rs: add «787. Cheapest Flights Within K Stops»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-23 17:02:03 +01:00
693995acb5
rs: add «997. Find the Town Judge»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-22 16:54:24 +01:00
457b0a97ec
ci(cz): add commitizen
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-22 16:52:17 +01:00
ebbb9edfb8
ci: pre-commit autoupdate and add C++ hook
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-21 23:44:34 +01:00
94c49118db
ci(rs): add pre-commit hook for ‹rustfmt›
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-21 23:28:35 +01:00
56b6eee734
rs: add «201. Bitwise AND of Numbers Range»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-21 14:54:47 +01:00
5d27f631e0
ci: format pre-commit config
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-21 14:54:23 +01:00
46abea6e57
rs: add «268. Missing Number»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-20 21:27:21 +01:00
2f10b3cfbc
rs: add «231. Power of Two»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-19 14:04:14 +01:00
66a146f17f
rs: add «2402. Meeting Rooms III»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-18 19:23:12 +01:00
145bbe66e8
rs: fix «1642. Furthest Building You Can Reach»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-17 23:30:20 +01:00