摘要:
LeetCode Notes_#35 Search Insert PositionLeetCode Contents题目思路和解答思路解答高票答案要注意的点 题目Given a sorted array and a target value, return the index if the target is found. If not, return the index where it w... 阅读全文
posted @ 2018-10-23 20:24
Howfar's
阅读(139)
评论(0)
推荐(0)
摘要:
LeetCode Notes_#28 Implement strStr()LeetCode Contents题目思路及解答思路解答需要注意的点 题目Implement strStr().Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.E... 阅读全文
posted @ 2018-10-23 15:37
Howfar's
阅读(133)
评论(0)
推荐(0)
摘要:
LeetCode Notes_#27 Remove ElementContents题目思路和解答思路解答 题目Given an array nums and a value val, remove all instances of that value in-place and return the new length.Do not allocate extra space for anot... 阅读全文
posted @ 2018-10-23 12:01
Howfar's
阅读(103)
评论(0)
推荐(0)
摘要:
LeetCode Notes_#26 Remove Duplicates from Sorted ArrayLeetCode Contents题目思路及解答思路解答要注意的几点 题目Given a sorted array nums, remove the duplicates in-place such that each element appear only once and retur... 阅读全文
posted @ 2018-10-23 11:08
Howfar's
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号