8000 GitHub - Gomam0n/LeetCode: summary of leetcode
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Gomam0n/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

latex2image

https://latex.codecogs.com/
http://www.sciweavers.org/free-online-latex-equation-editor

Backtracking

679. 24 Game
2065. Maximum Path Quality of a Graph

Binary Indexed Tree/Segemnt Tree

315. Count of Smaller Numbers After Self
493. Reverse Pairs
327. Count of Range Sum
307. Range Sum Query - Mutable
308. Range Sum Query 2D - Mutable

Binary Search

33. Search in Rotated Sorted Array
34. Find First and Last Position of Element in Sorted Array
153. Find Minimum in Rotated Sorted Array
154. Find Minimum in Rotated Sorted Array II
1539. Kth Missing Positive Number
410. Split Array Largest Sum
81. Search in Rotated Sorted Array II
4. Median of Two Sorted Arrays
1488. Avoid Flood in The City

Bit Manipulation

421. Maximum XOR of Two Numbers in an Array
260. Single Number III
464. Can I Win(Game Theory)
1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix

Data Stucture/Design

208. Implement Trie (Prefix Tree)
211. Design Add and Search Words Data Structure
460. LFU Cache
307. Range Sum Query - Mutable
158. Read N Characters Given Read4 II - Call multiple times
157. Read N Characters Given Read4
225. Implement Stack using Queues
707. Design Linked List
843. Guess the Word

Dfs/Bfs

200. Number of Islands
695. Max Area of Island
547. Number of Provinces
212. Word Search II (+trie)
797. All Paths From Source to Target
787. Cheapest Flights Within K Stops 1192. Critical Connections in a Network(trajan)
417. Pacific Atlantic Water Flow
LCP 09. 最小跳跃次数
694. Number of Distinct Islands

Dynamic Programming

5. Longest Palindromic Substring
413. Arithmetic Slices
516. Longest Palindromic Subsequence
72. Edit Distance
198. House Robber
213. House Robber II
673. Number of Longest Increasing Subsequence
1235. Maximum Profit in Job Scheduling
410. Split Array Largest Sum
1000. Minimum Cost to Merge Stones
LCP 09. 最小跳跃次数

Enumeration

681. Next Closest Time
1284. Minimum Number of Flips to Convert Binary Matrix to Zero Matrix

Greedy

1007. Minimum Domino Rotations For Equal Row
55. Jump Game
45. Jump Game II
765. Couples Holding Hands
881. Boats to Save People
1975. Maximum Matrix Sum
1488. Avoid Flood in The City
678. Valid Parenthesis String
1353. Maximum Number of Events That Can Be Attended

Hash table

1. Two sum
929. Unique Email Addresses

Linked List

2. Add Two Numbers
206. Reverse Linked List

Math

233. Number of Digit One
7. Reverse Integer 166. Fraction to Recurring Decimal
29. Divide Two Integers

Priority Queue

218. The Skyline Problem(+Line Sweep)

Recursion/Divide and Conquer

241. Different Ways to Add Parentheses

Shortest Path

787. Cheapest Flights Within K Stops
743. Network Delay Time

Simulation

541. Reverse String II
161. One Edit Distance
163. Missing Ranges
166. Fraction to Recurring Decimal
29. Divide Two Integers
498. Diagonal Traverse
1152. Analyze User Website Visit Pattern

Sliding Window

3. Longest Substring Without Repeating Characters

Stack

388. Longest Absolute File Path
678. Valid Parenthesis String

Sorting

315. Count of Smaller Numbers After Self
493. Reverse Pairs
327. Count of Range Sum

String

541. Reverse String II
28. Implement strStr()(KMP)
214. Shortest Palindrome(KMP)
468. Validate IP Address

Trie

208. Implement Trie (Prefix Tree)
421. Maximum XOR of Two Numbers in an Array
820. Short Encoding of Words
212. Word Search II (+dfs/bfs)
211. Design Add and Search Words Data Structure
472. Concatenated Words

Two Pointers

443. String Compression
881. Boats to Save People
163. Missing Ranges

Union Find

200. Number of Islands
695. Max Area of Island
547. Number of Provinces
765. Couples Holding Hands

Others

41. First Missing Positive

About

summary of leetcode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0