注册
登录
SO业务编排
>>
leetcode_rust
>>
返回
项目作者:
safrannn
项目描述 :
leetcode practise solution in rust
高级语言:
Rust
项目主页:
项目地址:
git://github.com/safrannn/leetcode_rust.git
创建时间:
2019-12-28T23:57:36Z
项目社区:
https://github.com/safrannn/leetcode_rust
开源协议:
下载
leetcode_rust
leetcode practise solutions in RUST
current status
177/1552 completed
Finished problems:
id
Solution
1
Two Sum
2
Add Two Numbers
3
Longest Substring Without Repeating Characters
5
Longest Palindromic Substring
7
Reverse Integer
9
Palindrome Number
11
Container With Most Water
14
Longest Common Prefix
15
3Sum
17
Letter Combinations of a Phone Number
20
Valid Parentheses
21
Merge Two Sorted Lists
22
Generate Parentheses
34
Find First and Last Position of Element in Sorted Array
36
Valid Sudoku
38
Count and Say
42
Trapping Rain Water
46
Permutations
49
Group Anagrams
53
Maximum Subarray
54
Spiral Matrix
56
Merge Intervals
66
Plus One
67
Add Binary
70
Climbing Stairs
74
Search a 2D Matrix
78
Subsets
79
Word Search
83
Remove Duplicates from Sorted List
88
Merge Sorted Array
91
Decode Ways
98
Validate Binary Search Tree
101
Symmetric Tree
103
Binary Tree Zigzag Level Order Traversal
104
Maximum Depth of Binary Tree
110
Balanced Binary Tree
121
Best Time to Buy and Sell Stock
122
Best Time to Buy and Sell Stock II
125
Valid Palindrome
127
Word Ladder
134
Gas Station
135
Candy
136
Single Number
139
Word Break
151
Reverse Words in a String
155
Min Stack
167
Two Sum II - Input array is sorted
169
Majority Element
179
Largest Number
189
Rotate Array
198
House Robber
200
Number of Islands
202
Happy Number
204
Count Primes
205
Isomorphic Strings
206
Reverse Linked List
207
Course Schedule
210
Course Schedule II
211
Design Add and Search Words Data Structure
213
House Robber II
215
Kth Largest Element in an Array
219
Contains Duplicate II
221
Maximal Square
234
Palindrome Linked List
238
Product of Array Except Self
242
Valid Anagram
243
Shortest Word Distance
252
Meeting Rooms
253
Meeting Rooms II
256
Paint House
257
Binary Tree Paths
266
Palindrome Permutation
268
Missing Number
283
Move Zeroes
300
Longest Increasing Subsequence
322
Coin Change
337
House Robber III
342
Power of Four
344
Reverse String
347
Top K Frequent Elements
349
Intersection of Two Arrays
350
Intersection of Two Arrays II
359
Logger Rate Limiter
371
Sum of Two Integers
383
Ransom Note
386
Lexicographical Numbers
387
First Unique Character in a String
394
Decode String
404
Sum of Left Leaves
412
Fizz Buzz
415
Add Strings
424
Longest Repeating Character Replacement
437
Path Sum III
443
String Compression
448
Find All Numbers Disappeared in an Array
470
Implement Rand10() Using Rand7()
496
Next Greater Element I
503
Next Greater Element II
509
Fibonacci Number
516
Longest Palindromic Subsequence
518
Coin Change 2
520
Detect Capital
532
K-diff Pairs in an Array
543
Diameter of Binary Tree
556
Next Greater Element III
557
Reverse Words in a String III
559
Maximum deph of N-ary tree
560
Subarray Sum Equals K
561
Array Partition I
582
Kill Process
605
Can Place Flowers
617
Merge Two Binary Trees
678
Valid Parenthesis String
680
Valid Palindrome II
692
Top K Frequent Words
724
Find Pivot Index
735
Asteroid Collision
763
Partition Labels
771
Jewels and Stones
796
Rotate String
819
Most Common Word
844
Backspace String Compare
859
Buddy Strings
875
Koko Eating Bananas
905
Sort Array By Parity
922
Sort Array By Parity II
937
Reorder Data in Log Files
938
Range Sum of BST
953
Verifying an Alien Dictionary
973
K Closest Points to Origin
977
Squares of a Sorted Array
994
Rotting Oranges
1013
Partition Array Into Three Parts With Equal Sum
1021
Remove Outermost Parentheses
1029
Two City Scheduling
1136
Parallel Courses
1239
Maximum Length of a Concatenated String with Unique Characters
1249
Minimum Remove to Make Valid Parentheses
1281
Subtract the Product and Sum of Digits of an Integer
1287
Element Appearing More Than 25% In Sorted Array
1288
Remove Covered Intervals
1290
Convert Binary Number in a Linked List to Integer
1299
Replace Elements with Greatest Element on Right Side
1304
Find N Unique Integers Sum up to Zero
1480
Running Sum of 1d Array
1486
XOR Operation in an Array
1496
Path Crossing
1528
Shuffle String
1534
Count Good Triplets
1535
Find the Winner of an Array Game
1537
Get the Maximum Score
1539
Kth Missing Positive Number
1540
Can Convert String in K Moves
1152
Analyze User Website Visit Pattern
1572
Matrix Diagonal Sum
1576
Replace All ?’s to Avoid Consecutive Repeating Characters
1577
Number of Ways Where Square of Number Is Equal to Product of Two Numbers
1578
Minimum Deletion Cost to Avoid Repeating Letters
1582
Special Positions in a Binary Matrix
1583
Count Unhappy Friends
1588
Sum of All Odd Length Subarrays
1593
Split a String Into the Max Number of Unique Substrings
1598
Crawler Log Folder
1608
Special Array With X Elements Greater Than or Equal X
1609
Even Odd Tree
1671
Minimum Number of Removals to Make Mountain Array
1678
Goal Parser Interpretation
1679
Max Number of K-Sum Pairs
1680
Concatenation of Consecutive Binary Numbers
1682
Longest Palindromic Subsequence II
1684
Count the Number of Consistent Strings
1685
Sum of Absolute Differences in a Sorted Array
1694
Reformat Phone Number
1695
Maximum Erasure Value
1704
Determine if String Halves Are Alike
1705
Maximum Number of Eaten Apples
1706
Where Will the Ball Fall
1725
Number Of Rectangles That Can Form The Largest Square
1726
Tuple with Same Product
1736
Latest Time by Replacing Hidden Digits
1737
Change Minimum Characters to Satisfy One of Three Conditions