You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
7
7
LeetCode is a website that has programming-related questions that are designed to be solved in a limited amount of time. This repository is a collection of some of my solutions written in [Rust](https://www.rust-lang.org/).
8
8
9
-
## Solutions (115)
9
+
## Solutions (124)
10
10
| No. | Title | Solution | Problem | Difficulty |
11
11
|:---:|:------|:--------:|:-------:|:----------:|
12
12
| 1 | Two Sum |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/two_sum.rs)|[Leetcode](https://leetcode.com/problems/two-sum/)||
@@ -40,7 +40,9 @@ LeetCode is a website that has programming-related questions that are designed t
40
40
| 174 | Dungeon Game |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/calculate_minimum_hp.rs)|[Leetcode](https://leetcode.com/problems/dungeon-game/)||
41
41
| 200 | Number of Islands |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/num_islands.rs)|[Leetcode](https://leetcode.com/problems/number-of-islands/)||
42
42
| 201 | Bitwise AND of Numbers Range |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/range_bitwise_and.rs)|[Leetcode](https://leetcode.com/problems/bitwise-and-of-numbers-range/)||
| 210 | Course Schedule II |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/course-schedule_two.rs)|[Leetcode](https://leetcode.com/problems/course-schedule-ii/)||
44
46
| 212 | Word Search II |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/find_words.rs)|[Leetcode](https://leetcode.com/problems/word-search-ii/)||
45
47
| 230 | Kth Smallest Element in a BST |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/kth_smallest.rs)|[Leetcode](https://leetcode.com/problems/kth-smallest-element-in-a-bst/)||
| 543 | Diameter of Binary Tree |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/diameter_of_binary_tree.rs)|[Leetcode](https://leetcode.com/problems/diameter-of-binary-tree/)||
70
72
| 547 | Number of Provinces |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/find_circle_num.rs)|[Leetcode](https://leetcode.com/problems/number-of-provinces/)||
73
+
| 695 | Max Area of Island |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/max_area_of_island.rs)|[Leetcode](https://leetcode.com/problems/max-area-of-island/)||
| 698 | Partition to K Equal Sum Subsets |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/can_partition_k_subsets.rs)|[Leetcode](https://leetcode.com/problems/partition-to-k-equal-sum-subsets/)||
73
76
| 713 | Subarray Product Less Than K |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/cheat.rs)|[Leetcode](https://leetcode.com/problems/subarray-product-less-than-k/)||
@@ -76,6 +79,7 @@ LeetCode is a website that has programming-related questions that are designed t
| 774 | Minimize Max Distance to Gas Station |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/minmax_gas_dist.rs)|[Leetcode](https://leetcode.com/problems/minimize-max-distance-to-gas-station/)||
82
+
| 841 | Keys and Rooms |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/keys-and-rooms.rs)|[Leetcode](https://leetcode.com/problems/keys-and-rooms/)||
79
83
| 875 | Koko Eating Bananas |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/min_eating_speed.rs)|[Leetcode](https://leetcode.com/problems/koko-eating-bananas/)||
| 922 | Sort Array By Parity II |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/sort_array_by_parity_ii.rs)|[Leetcode](https://leetcode.com/problems/sort-array-by-parity-ii/)||
@@ -95,6 +99,7 @@ LeetCode is a website tha
F438
t has programming-related questions that are designed t
95
99
| 1143 | Longest Common Subsequence |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/longest_common_subsequence.rs)|[Leetcode](https://leetcode.com/problems/longest-common-subsequence/)||
96
100
| 1161 | Maximum Level Sum of a Binary Tree |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/max_level_sum.rs)|[Leetcode](https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree/)||
97
101
| 1167 | Minimum Cost to Connect Sticks |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/connect_sticks.rs)|[Leetcode](https://leetcode.com/problems/minimum-cost-to-connect-sticks/)||
| 1216 | Valid Palindrome III |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/is_valid_palindrome.rs)|[Leetcode](https://leetcode.com/problems/valid-palindrome-iii/)||
99
104
| 1239 | Maximum Length of a Concatenated String with Unique Characters |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/max_length.rs)|[Leetcode](https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters/)||
100
105
| 1268 | Search Suggestions System |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/suggested_products.rs)|[Leetcode](https://leetcode.com/problems/search-suggestions-system/)||
@@ -121,6 +126,10 @@ LeetCode is a website that has programming-related questions that are designed t
121
126
| 2032 | Two Out of Three |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_262.rs)|[Leetcode](https://leetcode.com/problems/two-out-of-three/)||
122
127
| 2033 | Minimum Operations to Make a Uni-Value Grid |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_262.rs)|[Leetcode](https://leetcode.com/problems/minimum-operations-to-make-a-uni-value-grid/)||
| 2042 | Check if Numbers Are Ascending in a Sentence |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_263.rs)|[Leetcode](https://leetcode.com/problems/check-if-numbers-are-ascending-in-a-sentence/)||
130
+
| 2043 | Simple Bank System |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_263.rs)|[Leetcode](https://leetcode.com/problems/simple-bank-system/)||
131
+
| 2044 | Count Number of Maximum Bitwise-OR Subsets |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_263.rs)|[Leetcode](https://leetcode.com/problems/count-number-of-maximum-bitwise-or-subsets/)||
132
+
| 2045 | Second Minimum Time to Reach Destination |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/weekly_263.rs)|[Leetcode](https://leetcode.com/problems/second-minimum-time-to-reach-destination/)||
124
133
| 5885 | Minimum Number of Moves to Seat Everyone |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/biweekly_63.rs)|[Leetcode](https://leetcode.com/problems/minimum-number-of-moves-to-seat-everyone/)||
125
134
| 5886 | Remove Colored Pieces if Both Neighbors are the Same Color |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/biweekly_63.rs)|[Leetcode](https://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/)||
126
135
| 5888 | The Time When the Network Becomes Idle |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/contest/biweekly_63.rs)|[Leetcode](https://leetcode.com/problems/the-time-when-the-network-becomes-idle/)||
0 commit comments