Skip to content

SunDoge/leetcode-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Rust

Problems

# Title Command
1 two sum cargo run --bin 1-two-sum
2 add two numbers cargo run --bin 2-add-two-numbers
3 longest substring without repeating characters cargo run --bin 3-longest-substring-without-repeating-characters
7 reverse integer cargo run --bin 7-reverse-integer
9 palindrome number cargo run --bin 9-palindrome-number
13 roman to integer cargo run --bin 13-roman-to-integer
14 longest common prefix cargo run --bin 14-longest-common-prefix
17 letter combinations of a phone number cargo run --bin 17-letter-combinations-of-a-phone-number
20 valid parentheses cargo run --bin 20-valid-parentheses
21 merge two sorted lists cargo run --bin 21-merge-two-sorted-lists
27 remove element cargo run --bin 27-remove-element
28 implement strstr cargo run --bin 28-implement-strstr
35 search insert position cargo run --bin 35-search-insert-position
36 valid sudoku cargo run --bin 36-valid-sudoku
38 count and say cargo run --bin 38-count-and-say
42 trapping rain water cargo run --bin 42-trapping-rain-water
48 rotate image cargo run --bin 48-rotate-image
50 powx n cargo run --bin 50-powx-n
53 maximum subarray cargo run --bin 53-maximum-subarray
58 length of last word cargo run --bin 58-length-of-last-word
60 permutation sequence cargo run --bin 60-permutation-sequence
66 plus one cargo run --bin 66-plus-one
67 add binary cargo run --bin 67-add-binary
69 sqrtx cargo run --bin 69-sqrtx
70 climbing stairs cargo run --bin 70-climbing-stairs
73 set matrix zeroes cargo run --bin 73-set-matrix-zeroes
83 remove duplicates from sorted list cargo run --bin 83-remove-duplicates-from-sorted-list
88 merge sorted array cargo run --bin 88-merge-sorted-array
100 same tree cargo run --bin 100-same-tree
101 symmetric tree cargo run --bin 101-symmetric-tree
134 gas station cargo run --bin 134-gas-station
135 candy cargo run --bin 135-candy
140 maximum depth of binary tree cargo run --bin 140-maximum-depth-of-binary-tree
169 majority element cargo run --bin 169-majority-element
189 rotate array cargo run --bin 189-rotate-array
200 contains duplicate iii cargo run --bin 200-contains-duplicate-iii
206 reverse linked list cargo run --bin 206-reverse-linked-list
217 contains duplicate cargo run --bin 217-contains-duplicate
219 contains duplicate ii cargo run --bin 219-contains-duplicate-ii
238 product of array except self cargo run --bin 238-product-of-array-except-self
289 game of life cargo run --bin 289-game-of-life
334 increasing triplet subsequence cargo run --bin 334-increasing-triplet-subsequence
1480 running sum of 1d array cargo run --bin 1480-running-sum-of-1d-array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published