Commit graph

120 commits

Author SHA1 Message Date
d36f1554da
go: add «72. Edit Distance»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-08-05 00:03:44 +02:00
0e4bb92726
go: add «1508. Range Sum of Sorted Subarray Sums»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-08-04 14:36:18 +02:00
ef9c473c21
go: add «790. Domino and Tromino Tiling»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-08-03 21:41:39 +02:00
ef40cbb1fd
go: add «1460. Make Two Arrays Equal by Reversing Subarrays»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-08-03 17:47:12 +02:00
adcfcd4d91
go: add «1105. Filling Bookcase Shelves»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-31 10:49:26 +02:00
95c58e0ea3
go: add «1653. Minimum Deletions to Make String Balanced»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-30 11:30:23 +02:00
31c882dfcd
go: add «912. Sort an Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-25 12:06:39 +02:00
c911ab1f19
go: add «2392. Build a Matrix With Conditions»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-21 23:13:29 +02:00
fa59e60f35
go: add «1605. Find Valid Matrix Given Row and Column Sums»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-20 22:18:52 +02:00
c70aba338e
go: add «1110. Delete Nodes And Return Forest»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-17 09:25:50 +02:00
a718efd3d8
go: add «726. Number of Atoms»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-14 22:36:19 +02:00
c69a2e96c7
go: add «2751. Robot Collisions»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-13 14:51:07 +02:00
c2b4298de8
go: add «1717. Maximum Score From Removing Substrings»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-12 11:09:11 +02:00
f6b4c01bbd
go: add «1190. Reverse Substrings Between Each Pair of Parentheses»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-11 15:29:12 +02:00
5f3765f37a
go: add «1598. Crawler Log Folder»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-10 10:06:31 +02:00
8198249ac5
go: add «1701. Average Waiting Time»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-09 09:52:12 +02:00
a0c53fcdeb
go: add «1823. Find the Winner of the Circular Game»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-08 13:52:37 +02:00
3b9a63195b
go: add «1518. Water Bottles»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-07 17:15:52 +02:00
e4dbf828e0
go: add «2582. Pass the Pillow»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-06 11:05:16 +02:00
d34c3e5b3d
go: add «2058. Find the Minimum and Maximum Number of Nodes Between Critical Points»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-05 13:20:47 +02:00
a837889497
go: add «2181. Merge Nodes in Between Zeros»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-04 13:51:06 +02:00
bcabf01c65
go: add «1509. Minimum Difference Between Largest and Smallest Value in Three Moves»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-03 09:57:36 +02:00
d89dbdcac2
go: add «350. Intersection of Two Arrays II»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-02 15:38:49 +02:00
1a015c14b4
go: add «1550. Three Consecutive Odds»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-07-01 20:41:32 +02:00
5bb1c156a4
go: add «1579. Remove Max Number of Edges to Keep Graph Fully Traversable»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-30 12:34:59 +02:00
92c5bae5aa
go: add «2192. All Ancestors of a Node in a Directed Acyclic Graph»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-29 14:17:47 +02:00
c56b3d121b
go: add «2285. Maximum Total Importance of Roads»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-28 23:56:30 +02:00
b8af7f3e38
go: add «1791. Find Center of Star Graph»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-27 22:13:20 +02:00
49453b34b9
go: add «1382. Balance a Binary Search Tree»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-26 14:33:37 +02:00
70419f93de
go: add «1038. Binary Search Tree to Greater Sum Tree»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-25 17:35:08 +02:00
6c0af823be
go: add «995. Minimum Number of K Consecutive Bit Flips»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-24 16:52:40 +02:00
24735bf4c0
go: add «1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-23 22:17:38 +02:00
c87d176475
go: add «1248. Count Number of Nice Subarrays»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-22 19:42:32 +02:00
1a95a0e633
go: add «1052. Grumpy Bookstore Owner»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-21 23:04:40 +02:00
3ca391ca27
go: add «1552. Magnetic Force Between Two Balls»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-20 19:57:55 +02:00
d1e6ee86c5
go: add «1482. Minimum Number of Days to Make m Bouquets»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-19 10:38:59 +02:00
8faeaa7e16
go: add «826. Most Profit Assigning Work»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-18 12:10:43 +02:00
e74d5bfa99
go: add «633. Sum of Square Numbers»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-06-18 12:10:01 +02:00
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
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
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
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
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
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
aabf7eda27
go: add «543. Diameter of Binary Tree»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-27 12:20:08 +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
16283b93e8
go: add «647. Palindromic Substrings»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-10 12:30:33 +01:00
47c6862e92
go: add «232. Implement Queue using Stacks»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-29 12:36:17 +01:00