自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 有关网络编程

有关网络编程的博客http://blog.csdn.net/ywh147/article/category/728421

2014-11-30 23:21:59 368

原创 leetcode:Spiral Matrix II

Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order.For example,Given n = 3,You should return the following matrix:[ [ 1, 2, 3 ], [ 8, 9, 4 ], [

2014-11-29 21:42:40 429

原创 leetcode: Clone Graph

Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled uniquely.We use # as a separator for each

2014-11-29 20:41:42 322

原创 leetcode: Single Number II

Given an array of integers, every element appears three times except for one. Find that single one.Note:Your algorithm should have a linear runtime complexity. Could you implement it without usi

2014-11-27 22:38:30 351

原创 Substring with Concatenation of All Words

You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without

2014-11-27 00:05:30 357

转载 Greedy Algorithms | Set 1 (Activity Selection Problem)

转自出处:http://www.geeksforgeeks.org/greedy-algorithms-set-1-activity-selection-problem/Greedy Algorithms | Set 1 (Activity Selection Problem)Greedy is an algorithmic paradigm that

2014-11-24 21:21:25 926

转载 Minimum Number of Platforms Required for a Railway/Bus Station

转自出处:http://www.geeksforgeeks.org/minimum-number-platforms-required-railwaybus-station/

2014-11-24 20:51:22 604

转载 智能指针auto_ptr详解

转自出处:http://www.cppblog.com/SmartPtr/archive/2007/07/05/27549.html

2014-11-18 17:20:53 387

转载 动态规划——5 输入两个整数 n 和 m,从数列1,2,3.......n 中 随意取几个数, 使其和等于 m

转自出处:http://blog.csdn.net/chenxuegui1234/article/details/18716435关键的d

2014-11-18 11:54:13 1326

转载 Java NIO——5 基于非阻塞编程NIO的例子

转自出处:之前,写的大多都是一些NIO知识点,没有贴出实例,可能看起来比较晦涩,下面是一个基于非阻塞的nio实例Server:[java] view plaincopyprint?/**  * 服务器端  *   * @author chenxuegui  *   */  pub

2014-11-17 23:31:00 586

转载 Java NIO开发需要注意的陷阱(转)

转自陷阱1:处理事件忘记移除key在select返回值大于0的情况下,循环处理Selector.selectedKeys集合,每处理一个必须从Set中移除Iterator it=set.iterator(); While(it.hasNext()){ SelectionKey key=it.next(); it.remove();

2014-11-17 23:30:00 1854

转载 iOS Brownbag: View vs. Layers (including Clock Demo)

转自出处:http://raptureinvenice.com/ios-brownbag-view-vs-layers-including-clock-demo/

2014-11-16 15:07:08 457

转载 Find the first repeating element in an array of integers

转自:http://www.geeksforgeeks.org/find-first-repeating-element-array-integers/

2014-11-13 23:00:57 567

转载 Find the closest pair from two sorted arrays

转自出处:http://www.geeksforgeeks.org/given-two-sorted-arrays-number-x-find-pair-whose-sum-closest-x/

2014-11-13 17:51:59 516

转载 Logistic regression (逻辑回归) 概述

转自出处:http://hi.baidu.com/hehehehello/item/40025c33d7d9b7b9633aff87

2014-11-07 13:53:25 523

转载 Demystifying the Natural Logarithm (ln)

转自出处:http://betterexplained.com/articles/demystifying-the-natural-logarithm-ln/

2014-11-05 23:43:00 572

转载 An Intuitive Guide To Exponential Functions & e

转自出处:http://betterexplained.com/articles/an-intuitive-guide-to-exponential-functions-e/

2014-11-05 23:03:53 769

转载 IOS实现Voip应用后台运行需要的几个配置项

转自出处:http://blog.csdn.net/wzzvictory/article/details/8815590IOS实现Voip应用后台运行需要的几个配置项作者:wangzz原文地址:http://blog.csdn.net/wzzvictory/article/details/8815590转载请注明出处如果觉得文章对你有所帮

2014-11-05 10:21:51 8459 1

转载 IOS ARC 使用

转自:http://www.yifeiyang.net/development-of-the-iphone-simply-7/

2014-11-04 20:14:31 502

转载 Cocoa深入学习:NSOperationQueue、NSRunLoop和线程安全

转自出处:http://blog.cnbluebox.com/blog/2014/07/01/cocoashen-ru-xue-xi-nsoperationqueuehe-nsoperationyuan-li-he-shi-yong/

2014-11-04 12:24:39 10527

转载 NSOprationQueue 与 GCD 的区别与选用

转自出处:http://www.jianshu.com/p/d09e2638eb27

2014-11-04 12:22:35 1025

转载 UIScrollView -------- 实现简单的相册功能

转自出处:UIScrollView -------- 实现简单的相册功能@在MRC环境下:释放宏    #define RELEASE_SAFELY(__Pointer) do{[__Pointer release],__Pointer = nil;} while(0)@思路:1个大的UIScrollView上嵌套N个小的UIScrollView ,小的UIScroll

2014-11-03 16:50:16 1504

转载 layoutSubviews总结

转自:http://blog.csdn.net/hmt20130412/article/details/24533903今天跟旺才兄学习了一下UIView的setNeedsDisplay和setNeedsLayout方法。首先两个方法都是异步执行的。而setNeedsDisplay会调用自动调用drawRect方法,这样可以拿到UIGraphicsGetCurrentConte

2014-11-03 16:23:40 675

转载 iOS开发 剖析网易新闻标签栏视图切换(addChildViewController属性介绍)

转自:http://blog.csdn.net/hmt20130412/article/details/34523235

2014-11-03 15:40:23 11024 1

转载 UIView的alpha、hidden和opaque属性之间的关系和区别

转自出处:http://blog.csdn.net/wzzvictory/article/details/10076323

2014-11-03 13:44:34 11732

转载 谈Objective-C Block的实现

转自出处: http://blog.devtang.com/blog/2013/07/28/a-look-inside-blocks/

2014-11-02 22:18:07 726

转载 Objective-C语法之动态类型(isKindOfClass, isMemberOfClass,id)等

转自出处: http://blog.csdn.net/totogo2010/article/details/7714960

2014-11-02 20:35:29 432

转载 Using GCD to Wait on Many Tasks

转自出处:http://amro.tumblr.com/post/48248949039/using-gcd-to-wait-on-many-tasks

2014-11-02 18:35:07 594

转载 iOS- NSThread/NSOperation/GCD 三种多线程技术的对比及实现

转自出处:http://www.cnblogs.com/qingche/p/3496190.html

2014-11-02 18:19:11 8190

转载 Get notification when NSOperationQueue finishes all tasks

转自:http://stackoverflow.com/questions/1049001/get-notification-when-nsoperationqueue-finishes-all-tasks

2014-11-02 18:08:36 773

转载 iOS - How to know when NSOperationQueue finish processing a few operations?

转自:http://stackoverflow.com/questions/9998532/ios-how-to-know-when-nsoperationqueue-finish-processing-a-few-operations

2014-11-02 18:02:24 1031

转载 Presenting View Controllers from Other View Controllers

转自:https://developer.apple.com/library/ios/featuredarticles/ViewControllerPGforiPhoneOS/ModalViewControllers/ModalViewControllers.html

2014-11-02 14:29:17 574

转载 iPad for iPhone Developers 101 in iOS 6: UIPopoverController Tutorial

转自出处:http://www.raywenderlich.com/29472/ipad-for-iphone-developers-101-in-ios-6-uipopovercontroller-tutorialUpdate 3/7/2013: Fully updated for iOS 6 (original post by Ray Wenderlich, updat

2014-11-01 14:29:13 566

转载 Core Data Tutorial for iOS: Getting Started

转自:http://www.raywenderlich.com/934/core-data-tutorial-for-ios-getting-started

2014-11-01 12:54:02 699

转载 Understanding UIScrollView

转自出处:http://oleb.net/blog/2014/04/understanding-uiscrollview/

2014-11-01 00:13:58 655

空空如也

空空如也

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

TA关注的人

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