码迷,mamicode.com
首页 > 其他好文
北京秋日风景-最大的银杏林海景色
北京秋日风景-最大的银杏林海景色...
分类:其他好文   时间:2014-11-02 07:08:53    阅读次数:142
leetcode Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array[?2,1,?3,4,?1,2,1,...
分类:其他好文   时间:2014-11-02 07:07:06    阅读次数:167
[LeetCode] “全排列”问题系列(二) - 基于全排列本身的问题,例题: Next Permutation , Permutation Sequence
一、开篇既上一篇 后,这里讲的是基于全排列 (Permutation)本身的一些问题,包括:求下一个全排列(Next Permutation);求指定位置的全排列(Permutation Sequence);给出一个全排列,求其所在位置。二、例题1. 求下一个全排列,Next permuationI...
分类:其他好文   时间:2014-11-02 07:06:23    阅读次数:245
Vs2012 编译配置 Lua5.2.3
作为手游客户端的一个程序猿,肯定碰到过这样的问题,游戏已经提交发布,但是第二天大清早就发现游戏有一个逻辑BUG,怎么办,不严重的话一般采取 非强制更新。如果是一个严重的BUG,那就要强制玩家更新了。但是前天晚上刚刚下载的游戏,第二天早上就要重新下载!我们的游戏不是金条,玩家没有那么大 的耐性来下载第...
分类:其他好文   时间:2014-11-02 07:04:55    阅读次数:251
D22_04_将DataSet对象绑定到TreeView
using System; usi...
分类:其他好文   时间:2014-11-02 07:07:13    阅读次数:210
leetcode Binary Tree Level Order Traversal I II
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-11-02 07:06:13    阅读次数:195
[Leetcode] Pascal's Triangle
GivennumRows, generate the firstnumRowsof Pascal's triangle.For example, givennumRows= 5,Return[ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1]...
分类:其他好文   时间:2014-11-02 07:04:34    阅读次数:190
D22_05_treeview即时创建节点
DirectoryTreeView using System; using System.Collections.Generic; using System.Text; using System.Windows; using System.Windows.Controls; using System...
分类:其他好文   时间:2014-11-02 07:06:31    阅读次数:344
【HDOJ】1314 Numerically Speaking
学了几天的Java了,终于独立A了一道大数计算。感觉还得练Java啊。 1 import java.util.Scanner; 2 import java.math.BigInteger; 3 import java.lang.StringBuilder; 4 5 public class Mai....
分类:其他好文   时间:2014-11-02 07:04:20    阅读次数:210
清除NSString中的标点,数字,空格。只保留中文和英文。
NSString* searchString = [[searchBar.text componentsSeparatedByCharactersInSet:[[NSCharacterSet letterCharacterSet] invertedSet]] componentsJoinedByS....
分类:其他好文   时间:2014-11-02 07:05:10    阅读次数:161
[Leetcode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-02 07:03:37    阅读次数:177
[Leetcode] Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:其他好文   时间:2014-11-02 07:04:55    阅读次数:202
调试法则
理解系统这是第一条股则,因为它是最重要的。阅读手册。它会告诉你在使用除草机时,要在除草头上涂润滑油,这样除草绳就不会被烧化。仔细阅读每一个细节。关于微处理器如何处理中断的详细信息就隐藏在数据手册的第37页。掌握基础知识。点据本身就会发出很大的噪声。了解工作流程。引擎的转速可能与轮胎的转速不同,这是由...
分类:其他好文   时间:2014-11-02 07:02:27    阅读次数:319
D22_03_TreeView控件(ICollection借口)
...
分类:其他好文   时间:2014-11-02 07:01:56    阅读次数:496
HUD 5086 Revenge of Segment Tree(递推)
http://acm.hdu.edu.cn/showproblem.php?pid=5086题目大意: 给定一个序列,求这个序列的子序列的和,再求所有子序列总和,这些子序列是连续的。去题目给的第二组数据的31 2 3这个序列的子序列有 [1]、[2]、[3]、[1、2]、[2、3]、[1、2、3]....
分类:其他好文   时间:2014-11-02 07:02:12    阅读次数:162
路由,交换,4G,网络配件,网卡,
路由器:360 普联(TP-LINK) 友讯(D-Link) 水星(MERCURY) 腾达(Tenda) 思科(CISCO) 迅捷(FAST) 磊科(netcore) 华为(HUAWEI) 美国网件(NETGEAR) 飞鱼星 极(HiWiFi) 华三(H3C) 华硕(ASUS) 艾泰(UTT) 联想...
分类:其他好文   时间:2014-11-02 07:02:51    阅读次数:253
屋子里有1到100号100盏关闭的灯
屋子里有1到100号100盏关闭的灯,门外有1到100号100个人,每个人都要进屋一次,把与自己序号对应的和是自己序号倍数的灯绳拉一下,(比如1号要拉所有的灯绳,2号要拉2,4,6的灯绳,而100号只需拉100号灯绳)问:当100人都出来后,屋子里亮着的灯有几盏?这么说呢,大家都知道答案是 平方数 ...
分类:其他好文   时间:2014-11-02 07:01:51    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!