自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode 39. Combination Sum && 40. Combination Sum II && 216. Combination Sum III

39. Combination SumGiven a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.The same repeated number ma

2017-12-02 21:10:39 191 1

原创 LeetCode 35. Search Insert Position

Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.在一个有序数组中寻找目标值,如果找到就返回下标,找不到就返回它在有序数组中应该插入的位置。

2017-12-02 17:37:45 158

原创 LeetCode 34. Search for a Range

Given an array of integers sorted in ascending order, find the starting and ending position of a given target value.Your algorithm’s runtime complexity must be in the order of O(log n).If the target is

2017-12-02 17:36:51 144

原创 LeetCode 33. Search in Rotated Sorted Array && 81. Search in Rotated Sorted Array II

###LeetCode 33. Search in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand.(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).You are gi

2017-12-02 17:36:04 188

原创 LeetCode 31. Next Permutation

Implement next 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 possible orde

2017-12-02 17:34:07 158

原创 LeetCode 27. Remove Element

Given an array and a value, remove all instances of that value in-place and return the new length. Do not allocate extra space for another array, you must do this by modifying the input array in-plac

2017-12-02 17:33:28 128

原创 LeetCode 26. Remove Duplicates from Sorted Array && 80. Remove Duplicates from Sorted Array II

LeetCode 26. Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for an

2017-12-02 17:32:30 135

原创 LeetCode 11. Container With Most Water

Given n non-negative integers a1, a2, …, an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lin

2017-12-02 17:22:53 111

原创 LeetCode 1. Two Sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ele

2017-12-02 17:21:36 119

原创 LeetCode 328. Odd Even Linked List

Given a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes.You should try to do it in plac

2017-11-15 15:08:25 134

原创 LeetCode 143. Reorder List

Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes’ values.For example, Given {1,2,3,4}, reorder it to {1,4,2,3}

2017-11-15 13:41:47 123

原创 LeetCode其他链表简单题

其他链表简单题160. Intersection of Two Linked ListsWrite a program to find the node at which the intersection of two singly linked lists begins.For example, the following two linked lists:A: a1 → a2

2017-11-15 11:04:27 158

原创 LeetCode 138. Copy List with Random Pointer

A linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a deep copy of the list.本题出现了一个新的链表结点结构,结点有两个指针域,一个指向下一个结点,一个指向

2017-11-15 11:02:50 143

原创 LeetCode 206. Reverse Linked List && 92. Reverse Linked List II

LeetCode 206. Reverse Linked List && 92. Reverse Linked List II

2017-11-14 14:48:25 158

原创 LeetCode 86. Partition List

LeetCode 86. Partition List

2017-11-14 14:47:53 161

原创 LeetCode 82. Remove Duplicates from Sorted List II

LeetCode 82. Remove Duplicates from Sorted List II

2017-11-14 14:47:32 137

原创 LeetCode 83. Remove Duplicates from Sorted List

LeetCode 83. Remove Duplicates from Sorted List

2017-11-14 14:47:02 149

原创 LeetCode 61. Rotate List

LeetCode 61. Rotate List

2017-11-14 14:46:28 130

原创 LeetCode 24.Swap Nodes in Pairs

LeetCode 24.Swap Nodes in Pairs

2017-11-14 14:45:44 146

原创 LeetCode 21.Merge Two Sorted Lists

LeetCode 21.Merge Two Sorted Lists

2017-11-14 14:45:14 137

原创 LeetCode 19.Remove Nth Node From End of List

LeetCode 19.Remove Nth Node From End of List

2017-11-14 14:43:51 230

原创 LeetCode 2.Add Two Numbers

Add two Nums

2017-11-14 14:43:02 177

原创 LeetCode 141. Linked List Cycle && 142. Linked List Cycle II

LeetCode 141. Linked List Cycle && 142. Linked List Cycle II

2017-11-14 14:40:29 290

原创 iOS启动页动画效果

原文链接:请移步到本人简书主页ios启动页动画效果 最近项目中要在启动页增加版本号,因为版本号是不断的改变,所以要动态实现把它加到启动页上;在XCode上面配置的Launch Images Source或Launch Screen FIle(IOS8以上会优先调用这个作为启动项)都是保存一张静态图片 其实原理也是很简单,启动页还是运用Launch Images Source

2016-05-12 15:33:15 1293

原创 NSURLConnection笔记

NSURLConnection笔记

2016-05-12 15:25:23 4186

空空如也

空空如也

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

TA关注的人

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