- 博客(4)
- 收藏
- 关注
原创 leetcode(1) || 数组 c++
删除重复两次以上数字至两次 Remove Duplicates from Sorted Array II Given a sorted arraynums, remove the duplicatesin-placesuch that duplicates appeared at mosttwiceand return the new length.Do not allocate...
2019-08-09 16:36:25 148
原创 leetcode字典序题目总结
生成下一个字典序Implementnext permutation, which rearranges numbers into the lexicographically next greater permutation of numbers.If such arrangement is not possible, it must rearrange it as the lowest ...
2019-08-06 00:11:30 1252
原创 leetcode柱子题目总结
装水问题(左右指针)Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordinate (i,ai).nvertical lines are drawn such that the two endpoints of lineiis at (i,ai) and (i, ...
2019-08-05 12:29:31 410
原创 30道面试常见的数据结构算法题
注意:边界条件的判断取地址符传参的使用溢出问题,long long题目来源:https://github.com/ZXZxin/ZXBlog/blob/master/%E5%88%B7%E9%A2%98/InterviewAlgorithm.md01背包参考:https://www.cnblogs.com/Christal-R/p/Dynamic_program...
2019-08-01 15:48:01 3815 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人