自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 收藏
  • 关注

原创 leetcode 刷题笔记 08-28 (双指针 plus plus)

167. Two Sum II - Input array is sorted Given an array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they add up to a specific target number.

2021-08-28 23:59:56 87 1

原创 leetcode 刷题笔记 08-28 (双指针)

283. Move Zeroes Given an integer arraynums, move all0's to the end of it while maintaining the relative order of the non-zero elements. Notethat you must do this in-place without making a copy of the array.

2021-08-28 14:59:07 103 4

原创 leetcode 刷题笔记 08-27 (双指针)

189. Rotate Array Given an array, rotate the array to the right byksteps, wherekis non-negative.

2021-08-27 20:13:41 113

原创 leetcode 刷题笔记 08-26 (二分查找 plus)

35. 搜索插入位置 给定一个排序数组和一个目标值,在数组中找到目标值,并返回其索引。如果目标值不存在于数组中,返回它将会被按顺序插入的位置。 请必须使用时间复杂度为O(log n)的算法。

2021-08-26 22:08:20 90 1

原创 leetcode 刷题笔记 08-25(二分查找)

704. 二分查找 给定一个n个元素有序的(升序)整型数组nums和一个目标值target,写一个函数搜索nums中的target,如果目标值存在返回下标,否则返回-1。

2021-08-25 21:50:10 141

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除