你的一个运行于多设备网站(Your First Multi-device Site) 遵循的步骤: 1.定义信息架构(information architecture)和页面结构(structure of the pages)。 2.添加设计元素,并且使它是响应式的,而且在各个设备看起来都不错 指南...
分类:
Web程序 时间:
2014-08-18 23:20:23
阅读次数:
360
【Description】
At ree is a nonlinear data structure that models a hierarchical organization. The characteristic eatures are that each element may have several successors (called its “children”) and ev...
分类:
其他好文 时间:
2014-08-17 22:47:03
阅读次数:
275
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:
其他好文 时间:
2014-08-17 21:08:02
阅读次数:
339
Statements: This blog was written by me, but most of content is quoted from book【Data Structure with Java Hubbard】
【Description】
we have seen important examples of functions that are more n...
分类:
其他好文 时间:
2014-08-17 01:09:11
阅读次数:
186
Flyweight 直译为蝇量。就其表示的模式来说,翻译成享元,确实是不错的package designpattern.structure.flyweight;public interface Flyweight { void action(int arg);}package designpa...
分类:
其他好文 时间:
2014-08-17 01:03:51
阅读次数:
187
用于将对复杂某系统的访问统一化, 避免客户端过多的干涉某系统及其子系统。package designpattern.structure.facade;public class Facade { Subsystemclass1 s1 = new Subsystemclass1(); Sub...
分类:
其他好文 时间:
2014-08-17 01:01:01
阅读次数:
277
很简单,我就是想调用A方法的时候(前后),额外调用一些其他方法:package designpattern.structure.decorator;/* * Decorator它的做法跟代理模式,很相似,但是对work的实现不同 —— * 如果是Decorator在work实现中直接调用ITarg....
分类:
其他好文 时间:
2014-08-16 21:01:01
阅读次数:
240
又分为三种:类的适配器模式:package designpattern.structure.adapter.classadapter;public interface ITarget { public void method1(); public void method2();}pack...
分类:
其他好文 时间:
2014-08-16 20:58:51
阅读次数:
138
Client–server modelFrom Wikipedia, the free encyclopediaThe client–server model of computing is a distributed application structure that partitions ta...
分类:
其他好文 时间:
2014-08-16 10:53:50
阅读次数:
150
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.
Recover the tree without changing its structure.
Note:
A solution using O(n)
space is pretty s...
分类:
其他好文 时间:
2014-08-15 19:39:39
阅读次数:
222