题目:
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it ...
分类:
其他好文 时间:
2015-04-23 21:50:12
阅读次数:
155
摘抄自http://www.cnblogs.com/springfor/p/3870801.html“这道题运用位运算的异或。异或是相同为0,不同为1。所以对所有数进行异或,得出的那个数就是single number。初始时先让一个数与0异或,然后再对剩下读数挨个进行异或。这里运用到异或的性质:对于...
分类:
其他好文 时间:
2015-04-23 12:41:05
阅读次数:
151
1 什么是单点登陆 单点登录(Single Sign On),简称为 SSO,是目前比较流行的企业业务整合的解决方案之一。SSO的定义是在多个应用系统中,用户只需要登录一次就可以访问所有相互信任的应用系统。 较大的企业内部,一般都有很多的业务支持系统为其提供相应的管理和IT服务。例如财务系统为财务人...
分类:
其他好文 时间:
2015-04-23 09:25:12
阅读次数:
254
前端代码 // 引用JS JS调用代码 //JS调用 Html代码//Html代码 Single City (local): 后端数据源 public ActionResult Seach() ...
分类:
Web程序 时间:
2015-04-23 07:02:55
阅读次数:
122
在构建应用程序时,需要实现唯一实例化对象的类,并提供该实例的全局访问入口,以性能和框架能力为前提,还要考虑线程安全。单件模式实现方式之一:简单实现,存在线程安全问题。 public sealed class Singleton { private static Single...
分类:
其他好文 时间:
2015-04-22 23:31:14
阅读次数:
147
'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input string (not partial).The...
分类:
其他好文 时间:
2015-04-22 20:34:04
阅读次数:
122
原图:效果1:效果2:
效果3:效果4:
查看官方的API,其中ColorMatrix的说明如下:
5x4 matrix for transforming the color+alpha components of a Bitmap. The matrix is stored in a single array, and its
treated as fo...
分类:
移动开发 时间:
2015-04-22 13:52:10
阅读次数:
267
参考链接http://jingyan.baidu.com/article/2a138328bd73f2074b134f6d.htmlXcode 6 正式版如何创建一个Empty Application本文介绍在Xcode 6正式版,如何将一个Single View Application变为你熟悉的...
分类:
移动开发 时间:
2015-04-22 09:29:14
阅读次数:
135
master-detail Application主应用程序page-based Application基于页面的应用Single View Application单视图中的应用Tabbed Application标签中的应用cocoa Touch FrameworkCocoa Touch框架Coc...
分类:
其他好文 时间:
2015-04-22 01:58:03
阅读次数:
147
题目:
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire...
分类:
其他好文 时间:
2015-04-21 22:49:16
阅读次数:
168