设计思想:实现代码://jiangzhongxi 2015/3/19package count;import java.awt.BorderLayout;import java.awt.Color;import java.awt.Container;import java.awt.Graphics;...
分类:
其他好文 时间:
2015-03-19 20:12:07
阅读次数:
391
HtmlJavascript$(function () { var chart; var option={ chart: { renderTo:'container', plotBackgroundColor: null, ...
分类:
其他好文 时间:
2015-03-19 18:14:55
阅读次数:
110
Eclipse出现下面两条报错:The project cannot be built until build path errors are resolved HelloWord Unknown Java ProblemUnbound classpath container: 'JRE Syste...
分类:
系统相关 时间:
2015-03-19 13:09:57
阅读次数:
281
The minimum height controls the volumns. So let two runner at two ends start to scan the array. 1 class Solution { 2 public: 3 int maxArea(vector ...
分类:
其他好文 时间:
2015-03-19 06:21:12
阅读次数:
147
题意:在坐标轴的x轴上的0,1,2,3,4、、、、n处有n+1块木板,长度不一,任两块加上x轴即可构成一个容器,其装水面积为两板的间距与较短板长之积,以vector容器给出一系列值,分别代表在0,1,2,3,4、、、vector.size()-1共size个短板,是连续的,不排除有板长为0的可能性,...
分类:
其他好文 时间:
2015-03-18 23:01:52
阅读次数:
276
第一次看到stack,以为它是一个和vector同等地位的容器,其实不是官方解释:stacks are a type of container adaptor, specifically designed to a LIFO context(last-in-first-out), where ele...
分类:
编程语言 时间:
2015-03-18 19:47:53
阅读次数:
228
由于目前golang 没有提供泛型机制,所以通用容器实现基本和 c 类似,golang 用 interface{} 做转接, c 用 void * 转接。 ring 包实现循环双向链表: type?Ring?struct???{????
???next,?prev?*Ri...
分类:
其他好文 时间:
2015-03-18 16:10:33
阅读次数:
136
problem:
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai).
n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0)...
分类:
其他好文 时间:
2015-03-18 15:53:14
阅读次数:
110
目录目录
简介
单向链表
双向链表
环形链表
Linux内核中的链表实现
offsetof
container_of
container_of 第一部分
container_of 第二部分
链表初始化
向链表中增加一个节点
删除节点
移动节点
判断链表是否为空
遍历链表
Demo测试
tlisth
mlistc
执行结果简介最近在学习Android Binder驱动程序实现的时候,发现里面的数据结构...
分类:
系统相关 时间:
2015-03-17 23:49:03
阅读次数:
662
Client 1 package com.tan.chat; 2 3 import java.awt.BorderLayout; 4 import java.awt.Container; 5 import java.awt.event.ActionListener; 6 import ...
分类:
编程语言 时间:
2015-03-17 23:15:18
阅读次数:
249