首页 > 其他
VIew中的触摸事件 touchBegin 等一系列方法
5。触摸事件 touchBegin 等一系列方法 1)手指按下 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; 2)按下并移动 - (void)touchesMoved:(NSSet *)to...
分类:其他   时间:2015-09-21 08:03:13    收藏:0  评论:0  赞:0  阅读:248
LeetCode Generate Parentheses
原题链接在这里:https://leetcode.com/problems/generate-parentheses/采用递归调用helper, left, right, 代表还需要加几个左括号和几个右括号。起始赋值都为n, e.g. 若n=3, 就说明一共需要加三个左括号和三个右括号。递归函数he...
分类:其他   时间:2015-09-21 08:03:03    收藏:0  评论:0  赞:0  阅读:233
《大道至简》第一章读后感
“大道至简”是大道理(指基本原理、方法和规律)是极其简单的,简单到一两句话就能说明白。所谓“真传一句话,假传万卷书”。 一门技术一门学问,弄得很深奥是因为没有看穿实质,搞的很复杂是因为没有抓住程序的关键。在搏击较量中,出招过多就是多余无效的招数太多,有效的招数少;医生开的药方越多,就越是把握和好.....
分类:其他   时间:2015-09-21 08:02:53    收藏:0  评论:0  赞:0  阅读:242
如何获取帮助———— QQ群讨论摘要
QQ群对话整理(删除一些简单的回应),对一些重要的地方,我做了一些加粗宝玉 2015/9/211:49:05 这次题目还有个问题就是如何读取Excel,我想对于很多同学来说是个困难 Java读取Excel我也没做过,但是如果我做的话,我会有几种思路 直接Google(技术文章尽量用Go...
分类:其他   时间:2015-09-21 06:59:53    收藏:0  评论:0  赞:0  阅读:188
Best Time to Buy and Sell Stock II 解答
QuestionSay 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 co...
分类:其他   时间:2015-09-21 06:59:43    收藏:0  评论:0  赞:0  阅读:309
【软剑攻城队】团队介绍发布!
Email:qianlxc@126.comFree time:8:007:00a.m ~ 11:00 12:00p.mIntroduction:我是一个热情的人。开朗的人。活泼的人。(小编觉得用逗号分开比较好我喜欢交际,喜欢沟通。我的理想是做一个软件硬件都能有扎实基础,同时具备很强的工程实践能力与学...
分类:其他   时间:2015-09-21 06:59:33    收藏:0  评论:0  赞:0  阅读:235
Binary Tree Preorder Traversal
public List preorderTraversal(TreeNode root) { List ret = new ArrayList(); if(root == null) return ret; ...
分类:其他   时间:2015-09-21 06:59:23    收藏:0  评论:0  赞:0  阅读:191
Best Time to Buy and Sell Stock 解答
QuestionSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to complete at most one transac...
分类:其他   时间:2015-09-21 06:59:13    收藏:0  评论:0  赞:0  阅读:246
LeetCode Simplify Path
原题链接在这里:https://leetcode.com/problems/simplify-path/首先用string.split 把原有path 按照"/"分开 存入 String 数组strArr中。从肉往后扫描数组,遇到"." 和 " "直接跳过,遇到正常字符就压入栈中,遇到".."时若s...
分类:其他   时间:2015-09-21 06:59:03    收藏:0  评论:0  赞:0  阅读:237
Binary Tree Level Order Traversal
public List> levelOrder(TreeNode root) { List> ret = new ArrayList>(); if(root == null) return ret; ArrayDeque...
分类:其他   时间:2015-09-21 06:58:53    收藏:0  评论:0  赞:0  阅读:249
Triangle 解答
QuestionGiven 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...
分类:其他   时间:2015-09-21 06:58:43    收藏:0  评论:0  赞:0  阅读:276
STM32 I2C 總線佔用問題解析
这几天解决 STM32 MCU的I2C 总线占用(bus BUSY) 问题,觉得是不错的学习,从文中可得知I2C问题的思考逻辑逻,文末并指出经常出错的问题点,在此分享给大家。
分类:其他   时间:2015-09-21 06:58:33    收藏:0  评论:0  赞:0  阅读:566
LeetCode Reverse Words in a String
原题链接在这里:https://leetcode.com/problems/reverse-words-in-a-string/把原有string s按照空格分开存入strArr中,再从strArr尾部开始一个一个加到StringBuikder中即可。Note: 1.这里学习了几个新的API, s....
分类:其他   时间:2015-09-21 06:58:23    收藏:0  评论:0  赞:0  阅读:196
Less
简介CSS(层叠样式表)是一门历史悠久的标记性语言,同 HTML 一道,被广泛应用于万维网(World Wide Web)中。HTML 主要负责文档结构的定义,CSS 负责文档表现形式或样式的定义。作为一门标记性语言,CSS 的语法相对简单,对使用者的要求较低,但同时也带来一些问题:CSS 需要书写...
分类:其他   时间:2015-09-21 06:57:23    收藏:0  评论:0  赞:0  阅读:220
[LeetCode] Peeking Iterator 顶端迭代器
Given an Iterator class interface with methods: next() and hasNext(), design and implement a PeekingIterator that support the peek() operation -- it e...
分类:其他   时间:2015-09-21 06:57:03    收藏:0  评论:0  赞:0  阅读:227
sass
SASS用法指南一、什么是SASSSASS是一种CSS的开发工具,提供了许多便利的写法,大大节省了设计者的时间,使得CSS的开发,变得简单和可维护。二、安装和使用2.1 安装SASS是Ruby语言写的,但是两者的语法没有关系。不懂Ruby,照样使用。只是必须先安装Ruby,然后再安装SASS。假定你...
分类:其他   时间:2015-09-21 06:56:53    收藏:0  评论:0  赞:0  阅读:318
Unique Binary Search Trees II 解答
QuestionGivenn, generate all structurally uniqueBST's(binary search trees) that store values 1...n.For example,Givenn= 3, your program should return a...
分类:其他   时间:2015-09-21 06:56:43    收藏:0  评论:0  赞:0  阅读:214
ssh localhost免登陆
#必须要先赋权,在此特别提醒ssh-keygen -t rsa -P ''cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keyschmod 644 authorized_keys
分类:其他   时间:2015-09-21 06:56:33    收藏:0  评论:0  赞:0  阅读:203
实现简单的 ls 命令
今天天气不错,实现个自己的 ls 命令玩玩,现在实现来 -l 参数,以后有空再把其他参数补全:) 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 9 void showls(...
分类:其他   时间:2015-09-21 06:55:53    收藏:0  评论:0  赞:0  阅读:231
Could not load file or assembly System.Core, Version=2.0.5.0
在 Windows XP SP3 下,未进行更新,安装了 .NET Framework 4.0 环境,运行 WPF 程序时,发现的这个错误。 Could not load file or assembly System.Core, Version=2.0.5.0 。。。。 解决方法:请安装此补丁包 ...
分类:其他   时间:2015-09-21 06:55:43    收藏:0  评论:0  赞:0  阅读:385
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!