读完本文,你不仅学会了算法套路,还可以顺便解决如下题目: LeetCode力扣难度167. Two Sum II - Input Array Is Sortedopen in new window167. 两数之和 II - 输入有序数组open in new window🟠26. Remove Duplicates from Sorted Arrayopen in new window26. 删除有序数组中的重复项open in new window🟢27. Remove Elementopen in new window27. 移除元素open in new window🟢283. Move Zeroesopen in new window283. 移动零open in new window🟢344. Reverse Stringopen in new window344. 反转字符串open in new window🟢5. Longest Palindromic Substringopen in new window5. 最长回文子串open in new window🟠83. Remove Duplicates from Sorted Listopen in new window83. 删除排序链表中的重复元素open in new window🟢-剑指 Offer 57. 和为s的两个数字open in new window🟢-剑指 Offer II 006. 排序数组中两个数字之和open in new window🟢