Commit graph

626 commits

Author SHA1 Message Date
898040fcad
go: add «330. Patching Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-16 11:46:41 +02:00
d2ef757754
go: allow testing
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-16 11:44:08 +02:00
e2b6b15847
go: add «502. IPO»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-15 20:22:47 +02:00
d18212e90f
go: add «945. Minimum Increment to Make Array Unique»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-14 09:46:16 +02:00
d738179503
go: add «2037. Minimum Number of Moves to Seat Everyone»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-13 13:04:30 +02:00
fbc9fdb7ad
go: add «75. Sort Colors»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-12 17:33:21 +02:00
1e48c99bfb
go: add «1122. Relative Sort Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-11 22:20:18 +02:00
6a3f0058c0
go: add «1051. Height Checker»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-10 11:46:10 +02:00
4c4dae49a4
go: add «974. Subarray Sums Divisible by K»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-09 12:27:13 +02:00
adc9be2dbc
go: add «523. Continuous Subarray Sum»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-08 22:51:28 +02:00
bcb4538b17
java: add «648. Replace Words»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-07 19:38:59 +02:00
5c968ef149
java: add «846. Hand of Straights»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-06 11:38:33 +02:00
26e9547b32
go: add «1268. Search Suggestions System»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-05 13:46:10 +02:00
9249f94a04
go: add «1002. Find Common Characters»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-05 09:44:29 +02:00
bdc7307c3e
go: add «409. Longest Palindrome»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-04 10:34:37 +02:00
78f4a78500
go: add «208. Implement Trie (Prefix Tree)»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-03 15:45:14 +02:00
5612db7232
go: add «2486. Append Characters to String to Make Subsequence»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-03 15:29:18 +02:00
79c92c471e
swift: add «435. Non-overlapping Intervals»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-02 15:32:53 +02:00
6af5eb1c67
swift: add «452. Minimum Number of Arrows to Burst Balloons»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-02 15:14:15 +02:00
c02a481db2
swift: add «901. Online Stock Span»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-02 11:23:53 +02:00
97fecfe614
swift: add «739. Daily Temperatures»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-02 11:12:08 +02:00
81e5186b71
swift: add «344. Reverse String»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-02 10:50:48 +02:00
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