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
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
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 (100)
9
+
## Solutions (105)
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/)| Easy |
@@ -42,6 +42,7 @@ LeetCode is a website that has programming-related questions that are designed t
42
42
| 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/)| Hard |
43
43
| 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/)| Medium |
| 253 | Meeting Rooms II |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/min_meeting_rooms.rs)|[Leetcode](https://leetcode.com/problems/meeting-rooms-ii/)| Medium |
45
46
| 282 | Expression Add Operators |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/add_operators.rs)|[Leetcode](https://leetcode.com/problems/expression-add-operators/)| Hard |
46
47
| 317 | Shortest Distance from All Buildings |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/shortest_distance.rs)|[Leetcode](https://leetcode.com/problems/shortest-distance-from-all-buildings/)| Hard |
47
48
| 322 | Coin Change |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/coin_change.rs)|[Leetcode](https://leetcode.com/problems/coin-change/)| Medium |
@@ -50,6 +51,7 @@ LeetCode is a website that has programming-related questions that are designed t
50
51
| 337 | House Robber III |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/rob.rs)|[Leetcode](https://leetcode.com/problems/house-robber-iii/)| Medium |
51
52
| 350 | Intersection of Two Arrays II |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/intersect.rs)|[Leetcode](https://leetcode.com/problems/intersection-of-two-arrays-ii/)| Easy |
52
53
| 368 | Largest Divisible Subset |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/largest_divisible_subset.rs)|[Leetcode](https://leetcode.com/problems/largest-divisible-subset/)| Medium |
54
+
| 374 | Guess Number Higher or Lower |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/guess_number.rs)|[Leetcode](https://leetcode.com/problems/guess-number-higher-or-lower/)| Easy |
53
55
| 387 | First Unique Character in a String |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/first_uniq_char.rs)|[Leetcode](https://leetcode.com/problems/first-unique-character-in-a-string/)| Easy |
54
56
| 435 | Non-overlapping Intervals |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/erase_overlap_intervals.rs)|[Leetcode](https://leetcode.com/problems/non-overlapping-intervals/)| Medium |
55
57
| 442 | Find All Duplicates in an Array |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/find_duplicates.rs)|[Leetcode](https://leetcode.com/problems/find-all-duplicates-in-an-array/)| Medium |
@@ -60,7 +62,9 @@ LeetCode is a website that has programming-related questions that are designed t
60
62
| 516 | Longest Palindromic Subsequence |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/longest_palindrome_subseq.rs)|[Leetcode](https://leetcode.com/problems/longest-palindromic-subsequence/)| Medium |
61
63
| 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/)| Easy |
62
64
| 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/)| Medium |
| 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/)| Medium |
67
+
| 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/)| Medium |
64
68
| 713 | Subarray Product Less Than K |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/num_subarray_product_less_than_k.rs)|[Leetcode](https://leetcode.com/problems/subarray-product-less-than-k/)| Medium |
65
69
| 725 | Split Linked List in Parts |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/split_list_to_parts.rs)|[Leetcode](https://leetcode.com/problems/split-linked-list-in-parts/)| Medium |
66
70
| 741 | Cherry Pickup |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/challenge/cherry_pickup.rs)|[Leetcode](https://leetcode.com/problems/cherry-pickup/)| Hard |
@@ -74,6 +78,7 @@ LeetCode is a website that has programming-related questions that are designed t
74
78
| 937 | Reorder Data in Log Files |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/reorder_log_files.rs)|[Leetcode](https://leetcode.com/problems/reorder-data-in-log-files/)| Easy |
75
79
| 973 | K Closest Points to Origin |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/k_closest.rs)|[Leetcode](https://leetcode.com/problems/k-closest-points-to-origin/)| Medium |
76
80
| 991 | Broken Calculator |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/broken_calc.rs)|[Leetcode](https://leetcode.com/problems/broken-calculator/)| Medium |
81
+
| 1008 | Construct Binary Search Tree from Preorder Traversal |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/bst_from_preorder.rs)|[Leetcode](https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/)| Medium |
77
82
| 1013 | Partition Array Into Three Parts With Equal Sum |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/can_three_parts_equal_sum.rs)|[Leetcode](https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum/)| Easy |
78
83
| 1035 | Uncrossed Lines |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/problem/max_uncrossed_lines.rs)|[Leetcode](https://leetcode.com/problems/uncrossed-lines/)| Medium |
79
84
| 1041 | Robot Bounded In Circle |[Rust](https://github.com/martinxxd/leetcode-rust/tree/master/./src/leetcode/interview/amazon/is_robot_bounded.rs)|[Leetcode](https://leetcode.com/problems/robot-bounded-in-circle/submissions/)| Medium |
0 commit comments