Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Leetcode-Rust

Trying to solve the problems on leetcode by rust.

Title Rust C++ Solution
1. Two Sum Rust C++ Solution
2. Add Two Numbers Rust
3. Longest Substring Without Repeating Characters Rust
4. Median of Two Sorted Arrays Rust
5. Longest Palindromic Substring Rust
6. ZigZag Conversion Rust
7. Reverse Integer Rust Solution
8. String to Integer (atoi) Rust
9. Palindrome Number Rust
10. Regular Expression Matching Rust
11. Container With Most Water Rust C++ in README Solution
12. Integer to Roman Rust
13. Roman to Integer Rust
14. Longest Common Prefix Rust
15. 3Sum Rust C++
16. 3Sum Closest Rust
17. Letter Combinations of a Phone Number Rust
18. 4Sum Rust
19. Remove Nth Node From End of List Rust Solution
20. Valid Parentheses Rust
21. Merge Two Sorted Lists Rust
22. Generate Parentheses Rust C++
23. Merge k Sorted Lists Rust
24. Swap Nodes in Pairs Rust
25. Reverse Nodes in k-Group Rust
26. Remove Duplicates from Sorted Array Rust
27. Remove Element Rust
28. Implement strStr() Rust C++
29. Divide Two Integers Rust
30. Substring with Concatenation of All Words Rust
31. Next Permutation Rust C++
32. Longest Valid Parentheses Rust
33. Search in Rotated Sorted Array Rust
34. Find First and Last Position of Element in Sorted Array Rust
35. Search Insert Position Rust
36. Valid Sudoku Rust
37. Sudoku Solver Rust
38. Count and Say Rust
39. Combination Sum Rust
40. Combination Sum II Rust
41. First Missing Positive Rust
42. Trapping Rain Water Rust C++ in README Solution
43. Multiply Strings Rust
44. Wildcard Matching Rust
45. Jump Game II Rust Solution
46. Permutations Rust
47. Permutations II Rust
48. Rotate Image Rust
49. Group Anagrams Rust C++ Solution
50. Pow(x, n) Rust
51. N-Queens Rust
52. N-Queens II Rust
53. Maximum Subarray Rust
54. Spiral Matrix Rust
55. Jump Game Rust
56. Merge Intervals Rust
57. Insert Interval Rust
58. Length of Last Word Rust
59. Spiral Matrix II Rust
60. Permutation Sequence Rust
61. Rotate List Rust Solution
62. Unique Paths Rust
63. Unique Paths II Rust
64. Minimum Path Sum Rust C++
65. Valid Number Rust
66. Plus One Rust
67. Add Binary Rust
70. Climbing Stairs C++
71. Simplify Path C++ Solution
72. Edit Distance Rust
73. Set Matrix Zeroes C++
74. Search a 2D Matrix Rust
75. Sort Colors Rust
76. Minimum Window Substring Rust
77. Combinations C++
78. Subsets Rust C++ Solution
79. Word Search Rust
80. Remove Duplicates from Sorted Array II Rust
81. Search in Rotated Sorted Array II Rust C++
82. Remove Duplicates from Sorted List II Rust C++
83. Remove Duplicates from Sorted List C++
84. Largest Rectangle in Histogram Rust
85. Maximal Rectangle C++
86. Partition List Rust C++
89. Gray Code C++
90. Subsets II Rust C++
91. Decode Ways Rust
92. Reverse Linked List II Rust
93. Restore IP Addresses C++
94. Binary Tree Inorder Traversal C++
95. Unique Binary Search Trees II C++
96. Unique Binary Search Trees C++
97. Interleaving String C++
98. Validate Binary Search Tree C++
99. Recover Binary Search Tree C++
102. Binary Tree Level Order Traversal C++
103. Binary Tree Zigzag Level Order Traversal Rust
105. Construct Binary Tree from Preorder and Inorder Traversal C++
109. Convert Sorted List to Binary Search Tree C++
111. Minimum Depth of Binary Tree Rust
113. Path Sum II Rust
115. Distinct Subsequences C++
121. Best Time to Buy and Sell Stock C++
122. Best Time to Buy and Sell Stock II C++
131. Palindrome Partitioning Rust
134. Gas Station C++
135. Candy Rust C++
136. Single Number Rust
149. Max Points on a Line C++
155. Min Stack Rust
160. Intersection of Two Linked Lists C++
198. House Robber Rust
200. Number of Islands Rust C++
202. Happy Number Rust C++
207. Course Schedule Rust
210. Course Schedule II Rust
213. House Robber II Rust
215. Kth Largest Element in an Array C++
234. Palindrome Linked List Rust
236. Lowest Common Ancestor of a Binary Tree C++
238. Product of Array Except Self Rust C++
240. Search a 2D Matrix II C++
268. Missing Number Rust
287. Find the Duplicate Number Rust
295. Find Median from Data Stream Rust
310. Minimum Height Trees Rust
312. Burst Balloons C++
316. Remove Duplicate Letters Rust
321. Create Maximum Number Rust
337. House Robber III Rust
347. Top K Frequent Elements Rust
378. Kth Smallest Element in a Sorted Matrix Rust
395. Longest Substring with At Least K Repeating Characters Rust
416. Partition Equal Subset Sum Rust
448. Find All Numbers Disappeared in an Array C++
457. Circular Array Loop Rust
480. Sliding Window Median Rust
493. Reverse Pairs C++
525. Contiguous Array Rust C++ Solution
543. Diameter of Binary Tree C++
639. Decode Ways II Rust
678. Valid Parenthesis String Rust C++
713. Subarray Product Less Than K Rust
784. Letter Case Permutation Rust
844. Backspace String Compare Rust C++
883. Projection Area of 3D Shapes C++
887. Super Egg Drop Rust
904. Fruit Into Baskets Rust
927. Three Equal Parts Rust
932. Beautiful Array C++
938. Range Sum of BST Rust
977. Squares of a Sorted Array Rust
986. Interval List Intersections Rust
992. Subarrays with K Different Integers Rust
995. Minimum Number of K Consecutive Bit Flips Rust
1004. Max Consecutive Ones III Rust
1044. Longest Duplicate Substring Rust
1046. Last Stone Weight Rust C++
1254. Number of Closed Islands Rust
1360. Number of Days Between Two Dates Rust
1361. Validate Binary Tree Nodes Rust
1362. Closest Divisors Rust
1363. Largest Multiple of Three Rust
1365. How Many Numbers Are Smaller Than the Current Number C++
1366. Rank Teams by Votes C++
1367. Linked List in Binary Tree C++
1368. Minimum Cost to Make at Least One Valid Path in a Grid C++
1374. Generate a String With Characters That Have Odd Counts C++
1375. Bulb Switcher III C++
1380. Lucky Numbers in a Matrix C++
1381. Design a Stack With Increment Operation C++
1382. Balance a Binary Search Tree C++
1383. Maximum Performance of a Team C++
1389. Create Target Array in the Given Order C++
1390. Four Divisors C++
1391. Check if There is a Valid Path in a Grid Rust C++
1392. Longest Happy Prefix C++
1394. Find Lucky Integer in an Array C++
1395. Count Number of Teams C++
1396. Design Underground System C++
1397. Find All Good Strings C++
5319. Remove Palindromic Subsequences Rust
5328. The K Weakest Rows in a Matrix Rust

About

Trying to solve the problems on leetcode by rust.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.