Given amxngrid filled with non-negative
numbers, find a path from top left to bottom right whichminimizesthe sum of all
numbers along its path.Note:Yo...
分类:
其他好文 时间:
2014-06-04 20:57:08
阅读次数:
360
Given two wordsword1andword2, find the minimum
number of steps required to convertword1toword2. (each operation is counted as 1
step.)You have the fol...
分类:
其他好文 时间:
2014-06-04 20:12:15
阅读次数:
199
Given a string S and a string T, find the
minimum window in S which will contain all the characters in T in complexity
O(n).For example,S="ADOBECODEBA...
Given a strings, partitionssuch that every
substring of the partition is a palindrome.Return the minimum cuts needed for a
palindrome partitioning ofs...
分类:
其他好文 时间:
2014-05-30 15:13:10
阅读次数:
262
依赖注入 DI dependency
injection解释:将所依赖的对象让spring来自动的初始化代替例如:DAO dao = new DAOImpl();另外的一个说法叫做 控制翻转:IOC
inversion of control解释1:依赖对象由手动的控制改为让spring来控制。解释2...
分类:
其他好文 时间:
2014-05-30 05:25:59
阅读次数:
235
控制反转(Inversion of
Control,英文缩写为IoC)是一个重要的面向对象编程的法则来削减计算机程序的耦合问题,也是轻量级的Spring框架的核心。
控制反转一般分为两种类型,依赖注入(Dependency Injection,简称DI)和依赖查找。依赖注入应用比较广泛,我们这里.....
分类:
编程语言 时间:
2014-05-30 01:34:00
阅读次数:
333
严格模式function fun(){ "use strict";
//启用严格模式,作用域函数 } "use strict";
//全局变量变量定义需要用var,如果没有通过var定义的变量会由于相应变量不会马上有定义而导致不必要的混乱。数据类型5种基本数据类型:Undefined、Nu...
分类:
编程语言 时间:
2014-05-29 18:02:43
阅读次数:
372
1 syntax on 2 set tabstop=4 3 set softtabstop=4 4
set autoindent 5 set cindent 6 set nu 7 set ruler 8 " change the interprise
color 9 highligh...
分类:
其他好文 时间:
2014-05-29 15:20:00
阅读次数:
187
adt22.6.3的bug当adt更新到22.6.3,其编辑器中最低支持api7,即android
2.1,这里可能是google故意这么做的,也可能是其bug.其target sdk 和compile sdk最低都为14,即anroid
4.0,这里建议都设为最高的api 19,即android ...
分类:
移动开发 时间:
2014-05-29 02:43:25
阅读次数:
607
原题地址:https://oj.leetcode.com/problems/minimum-path-sum/题意:Given
amxngrid filled with non-negative numbers, find a path from top left to bottom
right w...
分类:
编程语言 时间:
2014-05-28 03:03:13
阅读次数:
320