Skip to content

kawori/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

143 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

personal leetcode solution

No. Problem Solution
1 Two Sum C++/Java/Rust
7 Reverse Integer C++
9 Palindrome Number Rust
13 Roman to Integer Python3
14 Longest Common Prefix Rust
20 Valid Parentheses Rust
21 Merge Two Sorted Lists C#
26 Remove Duplicates from Sorted Array Rust
27 Remove Element Rust
28 Implement strStr() Rust
53 Maximum Subarray Rust
58 Length of Last Word C++
66 Plus One Rust
69 Sqrt(x) C++
83 Remove Duplicates from Sorted Lists Javascript
100 Same Tree Javascript
101 Symmetric Tree C#
102 Binary Tree Level Order Traversal I C++
104 Maximum Depth of Binary Tree C++
108 Convert Sorted Array to Binary Search Tree Rust
111 Minimum Depth of Binary Tree Rust
118 Pascal's Triangle Rust
119 Pascal's Triangle II Rust
125 Valid Palindrome C++
136 Single Number Rust
168 Excel Sheet Column Title Java
171 Excel Sheet Column Number Rust
172 Factorial Trailing Zeroes C++
189 Rotate Array C++
190 Reverse Bits C++
204 Count Primes Rust
205 Isomorphic Strings Rust
206 Reverse Linked List Java
219 Contains Duplicate II C++
226 Invert Binary Tree Java
234 Palindrome Linked List C++
237 Delete Node in a Linked List C++
242 Valid Anagram C++
258 Add Digits Java
278 First Bad Version C++
290 Word Pattern Rust
292 Nim Game C++
344 Reverse String C++
349 Intersection of Two Arrays C++
367 Valid Perfect Square Rust
374 Guess Number Higher or Lower C++
387 First Unique Character in a String C++
400 Nth Digit C++
414 Third Maximum Number Rust
429 N-ary Tree Level Order Traversal Java
434 Number of Segments in a String Java
438 Find All Anagrams in a String C++
441 Arranging Coins C++
443 String Compression C++
451 Sort Characters By Frequency Rust
461 Hamming Distance Rust
475 Heaters Rust
476 Number Complement Rust
482 License Key Formatting Rust
500 Keyboard Row Java
507 Perfect Number C++
509 Fibonacci Number Python3
521 Longest Uncommon Subsequence I Java
532 K-diff Pairs in an Array Rust
557 Reverse Words in a String III C++
559 Maximum Depth of N-ary Tree Java
561 Array Partition I Python3
572 Subtree of Another Tree C++
575 Distribute Candies Rust
581 Shortest Unsorted Continuous Subarray Rust
589 N-ary Tree Preorder Traversal Java
590 N-ary Tree Postorder Traversal Java
594 Longest Harmonious Subsequence Rust
605 Can Place Flowers Javascript
617 Merge Two Binary Trees Java
633 Sum of Square Numbers C++
643 Maximum Average Subarray I Rust
645 Set Mismatch C++
657 Robot Return to Origin Rust
665 Non-decreasing Array C++
680 Valid Palindrome II C++
682 Baseball Game Python3
700 Search in a Binary Search Tree Java
703 Kth Largest Element in a Stream C++
707 Design Linked List C++
709 To Lower Case Rust
717 1-bit and 2-bit Characters C++
720 Longest Word in Dictionary C++
724 Find Pivot Index Rust
728 Self Dividing Numbers Rust
744 Find Smallest Letter Greater Than Target C++
747 Largest Number At Least Twice of Others C++
754 Reach a Number C++
762 Prime Number of Set Bits in Binary Representation Rust
771 Jewels and Stones Rust
784 Letter Case Permutation C++
804 Unique Morse Code Words C++
811 Subdomain Visit Count Rust
819 Most Common Word C++/Rust
821 Shortest Distance to a Character Java
832 Flipping an Image Rust
840 Magic Squares In Grid Java
849 Maximize Distance to Closest Person Rust
852 Peak Index in a Mountain Array Rust
859 Buddy Strings Rust
867 Transpose Matrix C++
874 Walking Robot Simulation C++
905 Sort Array By Parity Java
908 Smallest Range I Java
914 X of a Kind in a Deck of Cards Rust
922 Sort Array By Parity II Java
925 Long Pressed Name C++
929 Unique Email Addresses Rust
933 Number of Recent Calls Python3
941 Valid Mountain Array Rust
942 DI String Match C++
944 Delete Columns to Make Sorted Java
949 Largest Time for Given Digits Java
961 N-Repeated Element in Size 2N Array Java
965 Univalued Binary Tree Python3
970 Powerful Integers Rust
977 Squares of a Sorted Array C++
994 Rotting Oranges Rust
999 Available Captures for Rook Java
1002 Find Common Characters C++
1010 Pairs of Songs With Total Durations Divisible by 60 Rust
1018 Binary Prefix Divisible By 5 Java
1021 Remove Outermost Parentheses Rust
1025 Divisor Game Python3
1033 Moving Stones Until Consecutive Rust
1037 Valid Boomerang Rust
1041 Robot Bounded In Circle Rust
1042 Flower Planting With No Adjacent C++
1051 Height Checker Rust
1078 Occurrences After Bigram Rust
1108 Defanging an IP Address Rust
1122 Relative Sort Array Rust
1128 Number of Equivalent Domino Pairs Java

About

personal leetcode solution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors