Commit graph

493 commits

Author SHA1 Message Date
1c9fea288f
cpp: add “198. House Robber”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-21 11:42:11 +01:00
0505779f3f
cpp: add “907. Sum of Subarray Minimums”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-20 23:16:24 +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
744059e7b1
cpp: add “1026. Maximum Difference Between Node and Ancestor”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-11 15:19:44 +01:00
5f9d8d328b
cpp: add “2385. Amount of Time for Binary Tree to Be Infected”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-10 22:28:23 +01:00
880aaa9179
cs: add “206. Reverse Linked List”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-09 15:03:47 +01:00
1ce3f94173
cs: add “872. Leaf-Similar Trees”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-09 12:39:06 +01:00
fe58c04720
cs: add “450. Delete Node in a BST”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-09 12:25:16 +01:00
c838c99927
cs: add “136. Single Number”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-08 22:29:29 +01:00
ccd80cc46b
cs: add “1732. Find the Highest Altitude”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-08 22:26:17 +01:00
30202920b0
cpp: add “938. Range Sum of BST”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-08 11:50:46 +01:00
20632b1d7c
cs: add “2095. Delete the Middle Node of a Linked List”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 23:14:58 +01:00
2dff3c1d16
cs: add “446. Arithmetic Slices II - Subsequence”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 23:02:48 +01:00
98dd458942
cs: add “199. Binary Tree Right Side View”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 22:15:48 +01:00
f96b066323
cs: add “1161. Maximum Level Sum of a Binary Tree”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 22:06:12 +01:00
5dded1796b
cs: add “547. Number of Provinces”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 21:15:19 +01:00
19bc5bb150
cs: add “1448. Count Good Nodes in Binary Tree”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 21:09:16 +01:00
7e9a865db7
cs: add “2390. Removing Stars From a String”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 21:03:07 +01:00
37e383c221
cs: add “2336. Smallest Number in Infinite Set”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 20:13:10 +01:00
4cca12685d
cs: add “1137. N-th Tribonacci Number”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 20:00:24 +01:00
b6f5b99ee1
cs: add “746. Min Cost Climbing Stairs”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 19:57:54 +01:00
15e41e476e
cs: add “1431. Kids With the Greatest Number of Candies”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 16:05:10 +01:00
c58830b483
cs: add “605. Can Place Flowers”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 16:03:40 +01:00
7fb942c159
cs: add “724. Find Pivot Index”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 16:00:47 +01:00
8171cd6289
cs: add “1657. Determine if Two Strings Are Close”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 13:49:00 +01:00
34acc09b98
cs: add “2352. Equal Row and Column Pairs”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 13:06:12 +01:00
87b1174f4c
cs: add “1318. Minimum Flips to Make a OR b Equal to c”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 00:06:02 +01:00
d06468acfe
cs: add “338. Counting Bits”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-07 00:02:39 +01:00
3ed4e64b20
cs: add “62. Unique Paths”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 22:51:12 +01:00
64008089ff
cs: add “283. Move Zeroes”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 22:28:10 +01:00
0178e14f48
cs: add “700. Search in a Binary Search Tree”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 22:17:54 +01:00
641aa6c529
cs: add “1768. Merge Strings Alternately”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 22:04:18 +01:00
77096af698
java: add “1768. Merge Strings Alternately”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 20:59:14 +01:00
b20b6b2d9a
cpp: add “1235. Maximum Profit in Job Scheduling”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-06 16:49:42 +01:00
4340c17b03
cpp: add “300. Longest Increasing Subsequence”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-05 23:42:43 +01:00
489d931f11
cpp: add “2870. Minimum Number of Operations to Make Array Empty”
Signed-off-by: Matej Focko <mfocko@redhat.com>
2024-01-04 17:52:29 +01:00
6d44469c3c
java: add “2684. Maximum Number of Moves in a Grid”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-03 19:04:35 +01:00
b229608723
cpp(chore): add clang-format style and format
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-03 12:06:54 +01:00
2daade49c0
cpp: add “2125. Number of Laser Beams in a Bank”
Signed-off-by: Matej Focko <me@mfocko.xyz>
2024-01-03 12:05:21 +01:00