摘要: The problem: (This prolem include many programming skills in using recursion!!)Givennpairs of parentheses, write a function to generate all combinatio... 阅读全文
posted @ 2014-12-30 11:45 airforce 阅读(147) 评论(0) 推荐(0) 编辑
摘要: The quesiton:Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in... 阅读全文
posted @ 2014-12-30 10:50 airforce 阅读(140) 评论(0) 推荐(0) 编辑
摘要: The question:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices ... 阅读全文
posted @ 2014-12-30 02:22 airforce 阅读(769) 评论(0) 推荐(0) 编辑
摘要: The Problem:Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices o... 阅读全文
posted @ 2014-12-30 02:04 airforce 阅读(137) 评论(0) 推荐(0) 编辑
摘要: The questions:Determine whether an integer is a palindrome. Do this without extra space.Analysis:To determine whether an integer is a palindrome, we c... 阅读全文
posted @ 2014-12-30 01:20 airforce 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Reverse a integer is a very common task we need to understand for being a good programmer. It is very easy at some aspects, however, it also needs a p... 阅读全文
posted @ 2014-12-30 00:59 airforce 阅读(2037) 评论(1) 推荐(0) 编辑
摘要: == Vim的行号、语法显示等设置(.vimrc文件的配置) ==2008年01月18日 星期五 23:01在终端下使用vim进行编辑时,默认情况下,编辑的界面上是没有显示行号、语法高亮度显示、智能缩进等功能的。为了更好的在vim下进行工作,需要手动设置一个配置文件:.vimrc。在启动vim时,当... 阅读全文
posted @ 2014-11-15 12:30 airforce 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 1. kernel中的成员之间重重嵌套,很有可以在一个地方修改了某一变量,而后导致另一地方出现异常宕机的情况。解决的最佳办法是查看宕机日志,找出最后异常出现的地方。最后异常出现的位置可能会非常的奇怪,造成的原因可能是在另一个地方的异常修改。此时在可能宕机处,print处相关变量地址, printk ... 阅读全文
posted @ 2014-11-03 13:28 airforce 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1窗口可以merge2.可以通过 control+t打开窗口 阅读全文
posted @ 2014-11-03 13:24 airforce 阅读(357) 评论(0) 推荐(0) 编辑
摘要: shift - g 跳转到vim末尾行命令模式下撤销 u命令模式下删除 dd命令模式下复制 yy命令模式下粘贴 pp 阅读全文
posted @ 2014-11-03 13:22 airforce 阅读(95) 评论(0) 推荐(0) 编辑