Jonathan's Coding Interview 👨💻
GitHub
Home
Home
Readme
00 - Time & Space complexity
冰與火之歌:「時間」與「空間」複雜度
關於時間複雜度,你不知道的都在這裡!
空間複雜度分析
內存管理
通過一道面試題目,講一講遞歸算法的時間複雜度
01 - Array
11 - Container With Most Water
26 - Remove Duplicates From Sorted Array
27 - Remove Element
33 - Search In Rotated Sorted Array
54 - Spiral Matrix
59 - Spiral Matrix II
69 - Sqrt(x)
75 - Sort Colors
153 - Find Minimum In Rotated Sorted Array
209 - Minimum Size Subarray Sum
238 - Product Of Array Except Self
340 - Longest Substring With At Most K Distinct Characters 最多有K個不同字符的最長子串
384 - Shuffle An Array
704 - Binary Search
713 - Subarray Product Less Than K
844 - Backspace String Compare
977 - Squares Of A Sorted Array
Array 總結
02 - Linklist
19 - Remove Nth Node From End Of List
21 - Merge Two Sorted Lists
24 - Swap Nodes In Pairs
141 - Linked List Cycle
142 - Linked List Cycle II
160 - Intersection Of Two Linked Lists
203 - Remove Linked List Elements
206 - Reverse Linked List
707 - Design Linked List
876 - Middle Of The Linked List
Linklist 基礎
LinkList 總結
03 - String
7 - Reverse Integer
8 - String To Integer (Atoi)
12 - Integer To Roman
151 - Reverse Words In A String
344 - Reverse String
451 - Sort Characters By Frequency
459 - Repeated Substring Pattern
524 - Longest Word In Dictionary Through Deleting
541 - Reverse String II
567 - Permutation In String
Microsoft - URLify A Given String
04 - Hash
1 - Two Sum & 167 - Two Sum II - Input Array Is Sorted
3 - Longest Substring Without Repeating Characters
15 - 3 Sum
128 - Longest Consecutive Sequence
146 - LRU Cache
202 - Happy Number
242 - Valid Anagram
349 - Intersection Of Two Arrays
383 - Ransom Note
454 - 4Sum II
Hash 基礎
Hash 總結
05 - Stack & Queue
20 - Valid Parenthesesf
150 - Evaluate Reverse Polish Notation
225 - Implement Stack Using Queues
232 - Implement Queue Using Stacks
347 - Top K Frequent Elements
496 - Next Greater Element I
503 - Next Greater Element II
739 - Daily Temperatures
1047 - Remove All Adjacent Duplicates In String
06 - Tree
94_144_145 Preorder_Inorder_Postorder (Recursive & Iteratively)
100 - Same Tree & 572 - Subtree Of Another Tree
101 - Symmetric Tree
102 - Binary Tree Level Order Traversal
103 - Binary Tree Zigzag Level Order Traversal
104 - Maximum Depth Of Binary Tree
106 - Construct Binary Tree From Inorder And Postorder Traversal & 654 - Maximum Binary Tree & 617 - Merge Two Binary Trees
108 - Convert Sorted Array To Binary Search Tree
110 - Balanced Binary Tree
111 - Minimum Depth Of Binary Tree
129 - Sum Root To Leaf Numbers
222 - Count Complete Tree Nodes
226 - Invert Binary Tree
236 - Lowest Common Ancestor Of A Binary Tree & 235 - Lowest Common Ancestor Of A Binary Search Tree
257 - Binary Tree Paths && 112 - Path Sum
404 - Sum Of Left Leaves
513 - Find Bottom Left Tree Value
700-98-530-501-701-669-538 Binary Search Tree
Binary Tree - 理論篇
Binary Tree - 總結篇
07 - Backtracking
17 - Letter Combinations Of A Phone Number
46 - Permutations & 47 - Permutations II
77-216-39-40 - Combination Sum
78 - Subsets & 90 - Subsets II
93 - Restore IP Addresses
131 - Palindrome Partitioning
491 - Non-decreasing Subsequences
回溯算法理論基礎
08 - Graph
130 - Surrounded Regions
200 - Number Of Islands
684 - Redundant Connection
695 - Max Area Of Island
733 - Flood Fill
752 - Open The Lock
797 - All Paths From Source To Target
1020 - Number Of Enclaves
1162 - As Far From Land As Possible
1254 - Number Of Closed Islands
1905 - Count Sub Islands
10 - Greedy
53 - Maximum Subarray
55 - Jump Game && 45 - Jump Game II
56 - Merge Intervals
122 - Best Time To Buy And Sell Stock II
134 - Gas Station
376 - Wiggle Subsequence
406 - Queue Reconstruction By Height
452 - Minimum Number Of Arrows To Burst Balloons
455 - Assign Cookies
605 - Can Place Flowers
738 - Monotone Increasing Digits
763 - Partition Labels
860 - Lemonade Change
1005 - K次取反後最大化的數組和
11 - Sort
88 - Merge Sorted Array
215 - Kth Largest Element In An Array
12 - Dynamic programming
5 - Longest Palindromic Substring
62 - Unique Paths
63 - Unique Paths II
70 - Climbing Stairs
96 - Unique Binary Search Trees
121 - Best Time To Buy And Sell Stock
279 - Perfect Squares
343 - Integer Break
509 - Fibonacci Number
746 - Min Cost Climbing Stairs
13 - Leetcode 刷題學習筆記
Leetcode Pattern
Leetcode刷題學習筆記 – C++API_STL整理
Leetcode刷題學習筆記 – 解題技巧
Leetcode刷題學習筆記 – 名詞解釋
Leetcode刷題學習筆記 – Time_Space Complexity
Leetcode刷題學習筆記 – 小技巧_Code Snipe
On this page
Readme
Changelog:
2022-05-08: v1.1