標籤
Two Pointers
共 12 篇
2014
-
128
技術LeetCode
【LeetCode with Python】 75. Sort Colors
題目 原題頁面:https://leetcode.com/problems/sort-colors/ 題目型別:Array, Two Pointers, Sort 難度評價:Medium 類似題目:(M) Sort List, (M) Wi…
-
124
技術LeetCode
【LeetCode with Python】 86. Partition List
題目 原題頁面:https://leetcode.com/problems/partition-list/ 題目型別:Linked List, Two Pointers 難度評價:Medium Given a linked list and…
-
114
技術LeetCode
【LeetCode with Python】 80. Remove Duplicates from Sorted Array II
題目 原題頁面:https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii/ 題目型別:Array, Two Pointers 難度評價:Medium Follo…
-
112
技術LeetCode
【LeetCode with Python】 61. Rotate List
題目 原題頁面:https://leetcode.com/problems/rotate-list/ 題目型別:Linked List, Two Pointers 難度評價:Medium 類似題目:(E) Rotate Array Give…
-
104
技術LeetCode
【LeetCode with Python】 42. Trapping Rain Water
題目 原題頁面:https://leetcode.com/problems/trapping-rain-water/ 題目型別:Array, Stack, Two Pointers 難度評價:Hard 類似題目:(M) Container…
-
090
技術LeetCode
【LeetCode with Python】 11. Container With Most Water
題目 原題頁面:https://leetcode.com/problems/container-with-most-water/ 題目型別:Array, Two Pointers 難度評價:Medium 類似題目:(H) Trapping…
-
086
技術LeetCode
【LeetCode with Python】 19. Remove Nth Node From End of List
題目 原題頁面:https://leetcode.com/problems/remove-nth-node-from-end-of-list/ 題目型別:Linked List, Two Pointers 難度評價:Easy Given a…
2009
-
038
技術LeetCode
【LeetCode with Python】 125. Valid Palindrome
題目 原題頁面:https://leetcode.com/problems/valid-palindrome/ 題目型別:Two Pointers, String 難度評價:Easy 類似題目:(E) Palindrome Linked L…
2008
-
024
技術LeetCode
【LeetCode with Python】 141. Linked List Cycle
題目 原題頁面:https://leetcode.com/problems/linked-list-cycle/ 題目型別:Linked List, Two Pointers 難度評價:Medium 類似題目:(M) Linked List…
-
022
技術LeetCode
【LeetCode with Python】 88. Merge Sorted Array
題目 原題頁面:https://leetcode.com/problems/merge-sorted-array/ 題目型別:Array, Two Pointers 難度評價:Easy 類似題目:(E) Merge Two Sorted L…
