1
0
Fork 0
mirror of https://gitlab.com/mfocko/LeetCode.git synced 2024-11-14 01:49:41 +01:00
Commit graph

554 commits

Author SHA1 Message Date
5307e7ef85
swift: add «724. Find Pivot Index»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-01 23:49:40 +02:00
9bebfc43ba
swift: add «1732. Find the Highest Altitude»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-01 23:46:10 +02:00
00e0063e1e
go: add «3110. Score of a String»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-01 21:49:14 +02:00
c66b1879eb
go: add «260. Single Number III»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-31 12:16:00 +02:00
27d260c9c8
go: add «1442. Count Triplets That Can Form Two Arrays of Equal XOR»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-30 17:57:56 +02:00
af9de3f83b
go: add «1404. Number of Steps to Reduce a Number in Binary Representation to One»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-29 23:41:59 +02:00
2e2c8a758e
go: add «1208. Get Equal Substrings Within Budget»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-28 13:46:34 +02:00
03dc69e6ed
go: add «1608. Special Array With X Elements Greater Than or Equal X»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-27 13:35:34 +02:00
0a97fc0356
kt: add «552. Student Attendance Record II»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-27 00:51:20 +02:00
8157017f38
kt: add «140. Word Break II»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-26 00:41:14 +02:00
86683503c8
cs: add «1255. Maximum Score Words Formed by Letters»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-25 00:55:05 +02:00
17095ea3b2
go: remove unused parameter
Task: The Number of Beautiful Subsets

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-23 20:48:26 +02:00
aa9e412aa4
go: add «2597. The Number of Beautiful Subsets»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-23 20:46:11 +02:00
98209ffa96
go: add «131. Palindrome Partitioning»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-22 21:46:41 +02:00
370c61deb6
go: add «78. Subsets»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-21 11:38:23 +02:00
928354c370
kt: add «1863. Sum of All Subset XOR Totals»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-20 15:47:02 +02:00
1ef3050db6
java: add «3068. Find the Maximum Sum of Node Values»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-20 14:55:08 +02:00
3028c01721
java: add «979. Distribute Coins in Binary Tree»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-18 23:19:35 +02:00
04c2005f8a
kt: add «1325. Delete Leaves With a Given Value»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:26:09 +02:00
5bdc00e5ca
style(kt): reformat ‹695. Max Area of Island›
• reformat
• rename function to follow camel-case convention

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:24:25 +02:00
aaaebf1d52
style(kt): reformat the files
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:23:38 +02:00
1eab058c56
style(cpp): reformat
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:23:03 +02:00
8e227bd7c2
chore(cz): update commitizen config
• fix the regex (add missing ‹style›)
• reorder choices, alphabetical order is more maintainable than by the
  most used

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:23:03 +02:00
583767008c
chore(kt): add Kotlin formatting
+ add a rule in ‹.editorconfig› for ignoring the filename requirements
  imposed by the ‹KTLint›

Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-17 18:22:09 +02:00
a282ec40a7
java: add «2331. Evaluate Boolean Binary Tree»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-16 17:37:28 +02:00
4330c10e84
java: add «2812. Find the Safest Path in a Grid»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-15 19:45:14 +02:00
590fe65d50
java: add «1219. Path with Maximum Gold»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-15 15:37:33 +02:00
7675c66d38
java: add «861. Score After Flipping Matrix»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-13 17:38:57 +02:00
0f5f897414
java: add «2373. Largest Local Values in a Matrix»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-13 17:05:04 +02:00
4a3c33cda8
cs: add «857. Minimum Cost to Hire K Workers»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-11 22:20:05 +02:00
3bc4d1bb81
rs: add «786. K-th Smallest Prime Fraction»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-10 17:22:10 +02:00
8a68c52f38
rs: add «3075. Maximize Happiness of Selected Children»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-09 10:09:50 +02:00
4cb30e4b1b
rs: add «506. Relative Ranks»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-08 13:06:34 +02:00
01c0dbb83a
kt: add «2816. Double a Number Represented as a Linked List»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-07 09:25:05 +02:00
1080f28400
kt: add «2487. Remove Nodes From Linked List»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-06 20:51:17 +02:00
cf3bbb132f
java: add «237. Delete Node in a Linked List»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-05 19:05:31 +02:00
155b63cc56
java: add «881. Boats to Save People»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-04 11:35:52 +02:00
8222f5e1db
rs: add «165. Compare Version Numbers»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-03 23:40:20 +02:00
2808f7d5d8
rs: add «2441. Largest Positive Integer That Exists With Its Negative»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-02 23:37:39 +02:00
8c3d5463ea
java: add «2000. Reverse Prefix of Word»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-01 21:25:05 +02:00
4e873f87b0
cpp: add «1915. Number of Wonderful Substrings»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-05-01 00:53:46 +02:00
a55a560f58
rs: add «2997. Minimum Number of Operations to Make Array XOR Equal to K»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-29 21:25:35 +02:00
241e5f9aad
cpp: add «834. Sum of Distances in Tree»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-28 23:48:46 +02:00
4b43fceae9
cs: add «514. Freedom Trail»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-28 00:36:07 +02:00
b3f3754634
cs: add «1289. Minimum Falling Path Sum II»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-26 19:55:26 +02:00
e3d66b09ab
java: add «2370. Longest Ideal Subsequence»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-25 10:09:26 +02:00
c45234e58f
rs: add «1137. N-th Tribonacci Number»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-24 10:11:36 +02:00
14f67a9637
cpp: add «310. Minimum Height Trees»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-23 23:12:29 +02:00
9fe5babb33
cpp: add «752. Open the Lock»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-22 23:57:10 +02:00
f3631deaca
cpp: add «1971. Find if Path Exists in Graph»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-04-21 21:55:04 +02:00