码迷,mamicode.com
首页 > 2014年12月03日 > 全部分享
git的学习记录
在ubuntu上面工作了有一段时间了,今天在解决问题的时候搜索到了linux的源码树,这一个网站http://git.kernel.org/cgit/,他的管理就是使用的git。以前在windows上面接触过git,但是感觉非常麻烦,学习的也是云里雾里的,只是大概知道他是高效管理代码项目的一个工.....
分类:其他好文   时间:2014-12-03 21:14:15    阅读次数:165
鞋的启示,女人一定要看!!!!!!
你穿37码的鞋 逛街的时候看上了一双鞋 鞋的颜色款式你都特别喜欢 你就认定了这双鞋 可是老板告诉你鞋子只有36码 你犹豫再三还是决定要买 你想慢慢适应穿久了就会好的 于是你把鞋子买回了家 穿了一个星期 小了一码的鞋子磨得你满脚泡 你脚虽然很痛 但心里还是很满意很满足 特别...
分类:其他好文   时间:2014-12-03 21:12:36    阅读次数:140
Populating Next Right Pointers in Each Node II
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:其他好文   时间:2014-12-03 21:11:53    阅读次数:173
ARM指令集
ARM处理器指令集主要有 6大类:跳转指令数据处理指令程序状态寄存器 (PSR) 处理指令加载/存储指令协处理器指令异常产生指令指令指令功能ADC带进位加法ADD加法AND逻辑与B跳转BIC位清零BL带返回的跳转BLX带返回和状态切换的跳转BX带状态切换的跳转CDP协处理器数据操作CMN比较反值CM...
分类:其他好文   时间:2014-12-03 21:13:32    阅读次数:194
Pascal's Triangle II
Given an indexk, return thekthrow of the Pascal's triangle.For example, givenk= 3,Return[1,3,3,1].Note:Could you optimize your algorithm to use onlyO(...
分类:其他好文   时间:2014-12-03 21:10:42    阅读次数:188
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-12-03 21:13:00    阅读次数:187
Path Sum
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.Fo...
分类:其他好文   时间:2014-12-03 21:12:00    阅读次数:153
Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-12-03 21:11:39    阅读次数:186
Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-12-03 21:10:21    阅读次数:166
android新窗口以及传值
1,新建一个activity,如Activity2,在清单文件AndroidManifest.xml 中application节点中 增加一个新窗体:................. 2,在主程序中:Intent intent = new Intent(MainAct...
分类:移动开发   时间:2014-12-03 21:12:18    阅读次数:197
Python学习笔记1203
正在Codecademy学习Python,在Battleship中的Printing Preety提到:print " ".join(letters)这个就将list中string的引号和逗号去掉,打印出来print "---".join(letters)这样就将元素用---连接起来例如这个代码: ...
分类:编程语言   时间:2014-12-03 21:11:18    阅读次数:202
一个有趣的代码
0。知道字符的AsCii码怎么输出字符,ASCII为十进制,不能直接'\(ASCII)',要先将ASCII码转化为8进制,再用'\'1。回顾while():当括号里面的值为0或'\0'时,循环终止。(括号里面'0'不终止)2。回顾字符串指针:char *s="ABCDEF";将A的地址赋给指针s,所...
分类:其他好文   时间:2014-12-03 21:10:50    阅读次数:143
什么是主机空间?干什么用?
什么是主机空间?干什么用? 主机空间承担着两个最基本的功用:存放网站的文件,以及提供网站运行的环境。这里说的主机空间,其实就是一个连接公网的服务器,基本上24小时都在运作,服务器的硬盘可以存放网站文件;在服务器中安装一个系统和环境,就可以运行网站。市面上常见的主机空间有 Windows主机 和 L....
分类:其他好文   时间:2014-12-03 21:10:28    阅读次数:168
Binary Tree Level Order Traversal
Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,9,2...
分类:其他好文   时间:2014-12-03 21:12:08    阅读次数:201
面试题---PHP
1、PHP(外文名: Hypertext Preprocessor,中文名:“超文本预处理器”)是一种通用开源脚本语言。 2、echo,print和print_r的区别: echo和print都可以做输出,不同的是,echo不是函数,没有返回值,而print是一个函数有返回值,所以相对而言如果只.....
分类:Web程序   时间:2014-12-03 21:11:46    阅读次数:140
输出数组里面第N大的数
好像有些大公司出过面试题:找出数组里面第N大的数,当然有点变化,但本质部分是这样的. 要求是不能排序,时间复杂度不能超过O(n^2) 思路很多,我暂时就只会快排衍生的那种.如果对快速排序不太熟悉了,建议复习 我之前讨论的快速排序. 好的,现在假设你已经熟悉了快速排序. 每轮快排,我们...
分类:编程语言   时间:2014-12-03 21:09:07    阅读次数:204
Office2010每次启动都要配置的解决办法
运行以下命令即可。。如果提示已存在,选择Y覆盖就行了。。可以用快捷键:键盘左下角的“Windows四格键+R”reg add HKCU\Software\Microsoft\Office\14.0\Word\Options /v NoReReg /t REG_DWORD /d 1来源:http://...
分类:其他好文   时间:2014-12-03 21:10:53    阅读次数:189
2095条   上一页 1 ... 18 19 20 21 22 23 24 ... 124 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!