Commit graph

47 commits

Author SHA1 Message Date
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
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
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
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
4061ff562b
rs: add «948. Bag of Tokens»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-03-04 11:21:15 +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
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
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
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
3521bf1f37
rs: add «1642. Furthest Building You Can Reach»
TLEs, not good enough…

Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-17 11:14:51 +01:00
57de9b067a
rs: add «1481. Least Number of Unique Integers after K Removals»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-16 22:03:10 +01:00
85d4d8d9ab
rs: add «2971. Find Polygon With the Largest Perimeter»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-15 23:19:43 +01:00
0ed6d6ed64
rs: add «2108. Find First Palindromic String in the Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-13 11:10:47 +01:00
6fa8544de7
rs: add «169. Majority Element»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-12 20:38:45 +01:00
b562aea45e
rs: add «279. Perfect Squares»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-08 10:24:08 +01:00
861a38fb89
rs: add «451. Sort Characters By Frequency»
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-02-08 00:18:50 +01:00
f88f860d0d
rs: add «1043. Partition Array for Maximum Sum»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-03 21:30:50 +01:00
45fb950e25
rs: add «1291. Sequential Digits»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-02 20:12:25 +01:00
feee06dc93
rs: add «2966. Divide Array Into Arrays With Max Difference»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-02-01 14:48:27 +01:00
2c3f0e2255
rs: add «629. K Inverse Pairs Array»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-28 00:45:48 +01:00
5a4efd75db
rs: add «576. Out of Boundary Paths»
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-26 13:35:04 +01:00
48eae7f00b
chore: run pre-commit
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-19 07:12:37 +01:00
c9f0e952a5
rs: add “931. Minimum Falling Path Sum”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-19 07:11:41 +01:00
81ed1392cc
rs: add “70. Climbing Stairs”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-18 10:27:23 +01:00
f526fbd364
rs: add “Insert Delete GetRandom O(1)”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-16 13:47:47 +01:00
176d59fd1f
rs: add “2225. Find Players With Zero or One Losses”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-15 15:31:50 +01:00
52d2e3e7a4
rs: add “1657. Determine if Two Strings Are Close”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-14 16:33:38 +01:00
a1de882ad5
rs: add “1347. Minimum Number of Steps to Make Two Strings Anagram”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-14 00:22:28 +01:00
fee07aaed3
rs: add “1704. Determine if String Halves Are Alike”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-12 12:21:50 +01:00
9cfd3567be
rs: add “215. Kth Largest Element in an Array”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 23:44:36 +01:00
0c96d36b10
rs: add “104. Maximum Depth of Binary Tree”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 23:40:59 +01:00
be4de17b4d
rs: add “2215. Find the Difference of Two Arrays”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 23:30:28 +01:00
cece461197
rs: add “1207. Unique Number of Occurrences”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 23:19:00 +01:00
835b0208b9
rs: add “1496. Path Crossing”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2023-12-23 13:42:48 +01:00
2351dfd0ee
chore: unwrap one layer
Signed-off-by: Matej Focko <mfocko@redhat.com>
2023-12-12 14:36:00 +01:00