
You are playing the following Flip Game with your friend: Given a string...
和subset區別:規定了子集的sum==target 注意,這里傳遞的起始位置是i,而不是position+1,but why??? code...
notice: 記憶點:看解釋圖中的三層樹:每一層,是for實現的,可以看到是從頭掃到尾,已經有了就不要了層與層之間,是靠recursion傳遞...
https://leetcode.com/problems/kth-largest-element-in-an-array/ Find the ...
https://leetcode.com/problems/reverse-linked-list/ Reverse a singly link...
題目: https://leetcode.com/problems/convert-sorted-array-to-binary-search-...
題目: https://leetcode.com/problems/symmetric-tree/ 分析: Input: So, we're ...
題目: https://leetcode.com/problems/gas-station/ There are N gas stations ...
題目: https://leetcode.com/problems/largest-rectangle-in-histogram/ Given ...