leetcode-105 - Construct Binary Tree from Preorder and Inorder Traversal

動機 複習inorder與preorder 可以順便看106 ...

July 20, 2021 · 1 min · zhengcf

leetcode-347 - Top K Frequent Elements

動機 直接sort就好 ...

July 20, 2021 · 1 min · zhengcf

leetcode-108 - Convert Sorted Array to Binary Search Tree

動機 複習dfs ...

July 18, 2021 · 1 min · zhengcf

leetcode-23 - Merge k Sorted Lists

動機 這題為什麼是hard? ...

July 16, 2021 · 1 min · zhengcf

leetcode-53 - Maximum Subarray

動機 解一解 ...

July 14, 2021 · 2 min · zhengcf

leetcode-493 - Reverse Pairs

動機 個數、i<j,使用divide and conquer的時機!! ...

February 20, 2021 · 2 min · zhengcf

leetcode-327 - Count of Range Sum

動機 使用divide and conquer的時機是? ...

February 20, 2021 · 3 min · zhengcf

leetcode-395 - Longest Substring with At Least K Repeating Characters

動機 搞懂調整sliding window的條件 ...

January 31, 2021 · 2 min · zhengcf

leetcode-324 - Wiggle Sort II

動機 神奇的indexing ...

January 30, 2021 · 2 min · zhengcf

leetcode-190 - Reverse Bits

動機 神奇的位元操作 ...

January 29, 2021 · 2 min · zhengcf