摘要: 7. Reverse Integer 题目: Leetcode: [7. Reverse Integer][1] 描述: 内容:Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123, return 阅读全文
posted @ 2017-05-16 00:00 suilin 阅读(256) 评论(0) 推荐(0) 编辑
摘要: LeetCode : ZigZag Conversion 题目: LeetCode: [6. ZigZag Conversion][1] 描述: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number 阅读全文
posted @ 2017-05-14 23:30 suilin 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 题目: LeetCode:[1. Add Two Numbers][1] 描述: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You 阅读全文
posted @ 2017-05-11 00:13 suilin 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 题目: LeetCode:[2. Add Two Numbers][1] 描述: You are given two non empty linked lists representing two non negative integers. The digits are stored in rev 阅读全文
posted @ 2017-05-10 00:41 suilin 阅读(154) 评论(0) 推荐(0) 编辑
摘要: LeetCode:36. Valid Sudoku,数独是否有效 : 题目: LeetCode: [36. Valid Sudoku ][1] 描述: Determine if a Sudoku is valid, according to: [Sudoku Puzzles][4] The Rule 阅读全文
posted @ 2017-05-07 23:51 suilin 阅读(215) 评论(0) 推荐(0) 编辑
摘要: LeetCode:60. Permutation Sequence,n全排列的第k个子列 : 题目: LeetCode: [ 60. Permutation Sequence][1] 描述: The set [1,2,3,…,n] contains a total of n! unique perm 阅读全文
posted @ 2017-05-07 17:44 suilin 阅读(163) 评论(0) 推荐(0) 编辑
摘要: ContentSize UIScrollView可以滚动的区域。在我的理解中,我把UIScrollView看成是具有上下两层的一个复合视图,frame控制着上层的大小,我们看到的UIScrollView的大小实际就是frame的大小,上层固定不动,显示的变化,由下层的滚动来控制。而下层滚动的区域的大 阅读全文
posted @ 2016-04-20 11:41 suilin 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 转载自 链接(http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000) 阅读全文
posted @ 2016-04-01 16:57 suilin 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 转载自简书网 作者 伯恩的遗产 2015.07.29 00:37*http://www.jianshu.com/p/0b0d9b1f1f19 文/伯恩的遗产(简书作者)原文链接:http://www.jianshu.com/p/0b0d9b1f1f19著作权归作者所有,转载请联系作者获得授权,并标注 阅读全文
posted @ 2016-03-29 14:58 suilin 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 原文出处: Martin_wjl(@Martin_wjl) 转载自 伯乐在线 对象初始化有两种方式:[class new] 与 [[class alloc] init] 对于后者,有分配和初始化的过程,alloc 从应用程序的虚拟地址空间上为该对象分配足够的内存,并且将新对象的引用计数加1、将对象的 阅读全文
posted @ 2016-03-29 11:34 suilin 阅读(206) 评论(0) 推荐(0) 编辑