leetcode-442 - Find All Duplicates in an Array

動機 又一個有趣的手法 ...

July 29, 2021 · 1 min · zhengcf

leetcode-844 - Backspace String Compare

動機 複習stack,但第二個解法很漂亮 ...

July 29, 2021 · 2 min · zhengcf

leetcode-637 - Average of Levels in Binary Tree

動機 複習bfs ...

July 29, 2021 · 1 min · zhengcf

leetcode-203 - Remove Linked List Elements

動機 複習Linked list的remove ...

July 29, 2021 · 1 min · zhengcf

leetcode-876 - Middle of the Linked List

動機 複習linked list找中點 ...

July 29, 2021 · 1 min · zhengcf

leetcode-303 - Range Sum Query - Immutable

動機 複習prefix sum ...

July 29, 2021 · 1 min · zhengcf

leetcode-51 - N-Queens

動機 複習backtrack ...

July 28, 2021 · 1 min · zhengcf

leetcode-472 - Concatenated Words

動機 與140很像 ...

July 28, 2021 · 1 min · zhengcf

leetcode-47 - Permutations II

動機 46的follow-up ...

July 27, 2021 · 1 min · zhengcf

leetcode-81 - Search in Rotated Sorted Array II

動機 這題是33的follow-up 如果多了重複怎麼辦? ...

July 27, 2021 · 2 min · zhengcf