0P
leetcode 连续子数组的最大和(leetcode最长子串)
[LeetCode]53.MaximumSubarray最大子数组Givenanintegerarraynums,findthecontiguoussubarray(containingatleastonenumber)whichhasthelargestsuma...
5P
兼容运行ios10的设备(ios10不兼容)
就在前不久,苹果刚刚对外正式发布了新的操作系统ios10。悲剧的是就在发布新系统的当天公司就急着要发布一个新版本,问题来了。。。谁知道app在ios10上会遇到什么鬼情况!最怕的就是闪退。。。于是在上线前做了很多关于ios10的适配工作,其中也踩了很多坑。所以在这里记录总结一下。1、自动管理证书首先...
0P
leetcode 合并区间(重叠区间 leetcode)
[LeetCode]56.MergeIntervals合并区间Givenacollectionofintervals,mergealloverlappingintervals.Example1:Input:[[1,3],[2,6],[8,10],[15,18]...
0P
ios开发之tableview实现完整的分割线详解(ios开发之tableview实现完整的分割线详解)
前言在我们创建一个tableView的时候,细心的你有没有发现UITableViewCell左侧会有空白。而我们在开发中有这样的需求:需要一根完整的分割线(去掉烦人的空白部分,即分割线的宽度==屏幕的宽度)。那么下面我就讲一讲该如何去掉空白的部分,显示完整的分割线。这里我提供两种方法...
0P
单词距离 leetcode(LeetCode[5]-最长回文子串)
[LeetCode]58.LengthofLastWord求末尾单词的长度Givenastringsconsistsofupper/lower-casealphabetsandemptyspacecharacters'',returnthelengthoflast...
0P
螺旋矩阵 leetcode(c++ 螺旋矩阵)
[LeetCode]59.SpiralMatrixII螺旋矩阵之二Givenapositiveintegern,generateasquarematrixfilledwithelementsfrom1ton2inspiralorder.Example:...
0P
leetcode 排序(leetcode 最长连续序列)
[LeetCode]60.PermutationSequence序列排序Theset[1,2,3,...,n]containsatotalofn!uniquepermutations.Bylistingandlabelingallofthepermutations...
2P
leetcode 旋转链表(旋转矩阵leetcode)
[LeetCode]61.RotateList旋转链表Giventheheadofalinkedlist,rotatethelisttotherightbykplaces.Example1:Input:head=[1,2,3,4,5],k=...
0P
leetcode 旋转数组(旋转矩阵 leetcode)
[LeetCode]189.RotateArray旋转数组Givenanarray,rotatethearraytotherightbyksteps,wherekisnon-negative.Example1:Input:[1,2,3,4,5,6,7...
11P
ios 自定义cell(ios cell)
通过继承uitableviewcell来自定义cell1、创建一个空的项目、命名:2、创建一个uitableviewcontroller并且同时创建xib:3、设置appdelegate.m中window的根控制器为刚刚创建的tableviewcontroller:...







