Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up to the target, whe...
分类:
其他好文 时间:
2015-05-09 16:39:13
阅读次数:
109
摘要ios依赖管理三种方式:手动、git submodule、cocoapods,CocoaPods是一个Objective-C第三方库的管理利器。目录[-]目录CocoaPods是什么?如何下载和安装CocoaPods?如何使用CocoaPods?场景1:利用CocoaPods,在项目中导入AFN...
分类:
其他好文 时间:
2015-05-09 16:22:56
阅读次数:
158
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
For example:
Given the below binary tree and sum
...
分类:
其他好文 时间:
2015-05-09 15:04:08
阅读次数:
99
iOS 7.1的Safari为meta标签新增minimal-ui属性,在网页加载时隐藏地址栏与导航栏01. Creating a fullscreen experienceOnAndroidBrowser – the default browser on Android up to 4.3, an...
分类:
Web程序 时间:
2015-05-09 14:50:23
阅读次数:
207
D - 1004
Time Limit:3000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status Practice HDU
3954
Description
Level up is the task of all online games. It's very ...
分类:
其他好文 时间:
2015-05-09 10:23:01
阅读次数:
159
// 向量v0沿着Y轴旋转45度得到v1Vector3 v0;Vector3 v1 = Quaternion.AngleAxis(45, Vector3.up) * v0; // 某游戏物体绕Y轴旋转30度得到的新QuaternionQuaternion rotation = Quaternion....
分类:
其他好文 时间:
2015-05-09 06:31:50
阅读次数:
97
2 SumDescription:Given an array of integers, find two numbers such that they add up to a special target number.The function twoSum should return indic...
分类:
其他好文 时间:
2015-05-08 21:58:17
阅读次数:
102
控制台功能Windows & LinuxMac移动鼠标到控制台Ctrl+2Ctrl+2控制台清屏Ctrl+LCommand+L移动鼠标至第一行HomeCommand+Left移动鼠标至最后一行EndCommand+Right历史记录翻滚Up/DownUp/Down弹出历史记录栏Ctrl+UpComm...
分类:
其他好文 时间:
2015-05-08 19:52:23
阅读次数:
131
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2015-05-08 18:18:47
阅读次数:
138
一 下载安装nodejs
下载地址:https://nodejs.org/
#nodejs默认安装了npm工具
pomelo是基于nodejs,会用到很多nodejs中的代码。
另外还需要用到npm工具。
二 安装git
参考github官网:https://help.github.com/articles/set-up-git/
npm工具会用到git
三...
分类:
Web程序 时间:
2015-05-08 18:17:57
阅读次数:
808