和单链表类似,只不过是增加了一个指向前面一个元素的指针而已。示意图:python 实现代码:#Personal Python Data Structure--PPDS##!/usr/bin/python# -*- coding: utf-8 -*-class Node(object): def...
分类:
编程语言 时间:
2014-12-17 12:20:25
阅读次数:
266
代码关键点记录:成功不远了!O(∩_∩)O 哈哈~
1. Input : load_video_info.m 读入视频文件groundtruth_rect.txt(里面是4个一组的点,x,y, width ,height ?),得到有用的参数:
target_sz = [ground_truth(1,4), ground_truth(1,3)]; 得到的是目标的尺寸(这里好像...
分类:
其他好文 时间:
2014-12-16 22:43:41
阅读次数:
894
1.Life Cycle 比如Request -----------Server2.Application Structure 比如3.Business Flow 比如顺序,循环,选择深入每一个技术环节,生命周期的每一个环节。
分类:
其他好文 时间:
2014-12-16 18:34:07
阅读次数:
110
在idea中的hadoop程序开发(MAC或Linux) hadoop的安装(自己查) 新建一个java project ????3.配置项目结构与依赖(project structure) 4.配置构件(artifacts):名称(name),类型(Type),构件时重新编...
分类:
其他好文 时间:
2014-12-16 15:26:37
阅读次数:
1010
执行CHANGE MASTER TO master_host............后报错ERROR 1201 (HY000): Could not initialize master info structure; more error messages can be found in the M...
分类:
数据库 时间:
2014-12-15 15:00:12
阅读次数:
250
见到 public class BaseRepository where T : class,不知什么意思,查询得知:就是说T必须是一个类(class)类型,不能是结构(structure)类型。这是类型参数约束,.NET支持的类型参数约束有以下五种:where T : struct ...
分类:
其他好文 时间:
2014-12-15 00:04:08
阅读次数:
239
importtimeimportctypesimportctypes.wintypesSEE_MASK_NOCLOSEPROCESS=0x00000040SEE_MASK_INVOKEIDLIST=0x0000000CclassSHELLEXECUTEINFO(ctypes.Structure):_...
分类:
其他好文 时间:
2014-12-14 22:31:32
阅读次数:
231
//数据类型 package?org.mo.common.structure.tree;
public?class?Student?implements?java.io.Serializable?{
/**
?*?
?*/
private?static?final?long?serialVersionUID?=?1L;
private?...
分类:
编程语言 时间:
2014-12-13 23:27:30
阅读次数:
421
Structure and interpretation of computer programs
PDF 英文版本的书籍:https://github.com/penguiner/sicp-pdf
中文翻译过来自行搜索吧,一大把
不过这里给出中文版的勘误. 译者很有责任心!
http://www.math.pku.edu.cn/teachers/q...
分类:
其他好文 时间:
2014-12-12 19:09:49
阅读次数:
156
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set. get(key) - Get the...
分类:
系统相关 时间:
2014-12-12 01:11:43
阅读次数:
374