Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

CornPrincess/LeetCode

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

This reporsitory is inspired by haoel/leetcode, and the scripts come from haoel/leetcode/scripts. I just want to record and review the solution of leetcode on my own.

I am looking forward to your pull request and star.

LeetCode Algorithm

# Title Solution Difficulty Method Times
1720 Decode XORed Array Java Easy Bitwise Operation 1
1603 Design Parking System Java Easy Bitwise Operation 1
1160 Find Words That Can Be Formed by Characters Java Easy Two hashMap 1
1111 Maximum Nesting Depth of Two Valid Parentheses Strings Java Medium Bitwise Operation 1
1103 Distribute Candies to People Java Easy # 1
1006 Clumsy Factorial Java Medium Stack, Math 1
994 Rotting Oranges Java Easy # 1
945 Minimum Increment to Make Array Unique Java Medium Count, Sort 1
938 Range Sum of BST Java Easy BST 1
914 X of a Kind in a Deck of Cards Java Easy GCD 1
897 Increasing Order Search Tree Java Easy inorder 1
892 Surface Area of 3D Shapes Java Easy Square by Square 1
876 Middle of the Linked List Java Easy Two Points 1
836 Rectangle Overlap Java Easy # 1
690 Employee Importance Java Easy DFS BFS 1
554 Brick Wall Java Medium HashMap 1
456 132 Pattern Java Medium stack 1
409 Longest Palindrome Java Easy Greedy, Bitwise Operation 1
368 Largest Divisible Subset Java Medium DP 1
341 Flatten Nested List Iterator Java Medium DFS Stack 1
331 Verify Preorder Serialization of a Binary Tree Java Medium Stack 1
303 Range Sum Query - Immutable Java Easy Caching 1
289 Game of Life Java Medium Bitwise Operation 1
283 Move Zeroes Java Easy # 1
234 Palindrome Linked List Java Easy Two Point 2
232 Implement Queue using Stacks Java Easy # 1
225 Implement Stack using Queues Java Easy # 2
213 House Robber II Java Medium DP 1
206 Reverse Linked List Java Easy iterative recursive 2
202 Happy Number Java Easy HashSet Two point 2
198 House Robber Java Medium DP 1
191 Number of 1 Bits Java Easy Bitwise Operation 1
190 Reverse Bits Java Easy Divide and Conquer 1
173 Binary Search Tree Iterator Java Medium Stack, Morris 1
151 Reverse Words in a String Java Medium Regex StringBuilder Deque 1
150 Evaluate Reverse Polish Notation Java Medium stack 1
141 Linked List Cycle Java Easy HashSet Two Points 1
142 Linked List Cycle II Java Medium HashSet Two Points 1
136 Single Number Java Easy List, Map, Bitwise Operation 1
115 Distinct Subsequences Java Hard Recursive DP 1
110 Balanced Binary Tree Java Easy Balance Tree 1
94 Binary Tree Inorder Traversal Java Medium Stack, Morris 1
92 Reverse Linked List II Java Medium Two Point 1
90 Subsets II Java Medium backtracking 1
83 Remove Duplicates from Sorted List Java Easy recursive 1
82 Remove Duplicates from Sorted List II Java Medium Two Points, recursive 1
78 Subsets Java Medium backtracking 1
74 Search a 2D Matrix Java Medium Binary Search 1
73 Set Matrix Zeroes Java Medium Two-dimensional Array 1
61 Rotate List Java Medium Two Points 1
59 Spiral Matrix II Java Medium Two-dimensional Array 1
55 Jump Game Java Medium Greedy 1
49 Group Anagrams Java Medium HashMap 1
26 Remove Duplicates from Sorted Array Java Easy Two Points 1
24 Swap Nodes in Pairs Java Medium iterative recursive 1
20 Valid Parentheses Java Easy Stack HashMap 1
8 String to Integer (atoi) Java Medium DFA 1
7 Reverse Integer Java Easy Math 1
1 Two Sum Java CPP Easy HashMap 2

note: # means that I use the common method, just some logic operate

Reference

About

Leetcode Problems' solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.