自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 AVL树插入、删除的分析与实现

AVL树基本概念首先,AVL树也是一种

2014-07-10 10:19:23 4485

原创 哈希表

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * hashtable.c - Simple hash table implementation. * * Modify List to any other types as you need as long as * the list structure is reta

2014-07-10 11:03:08 728

原创 二叉搜索树

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * binary_tree.c - Binary Search Tree. * * Modify key to any other types as you like, note also the * prototype of the interface functi

2014-07-10 11:02:06 586

原创 双向循环链表

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * cdlist.c - Circular doubly-linked list. * * Modify data to any other types as you like, note also the * prototypes of interface func

2014-07-10 10:54:49 565

原创 单链表

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * slist.c - Single linked list. * * Modify data to any other types as you like, note also * the function interfaces and data compare

2014-07-10 10:48:36 723

原创 希尔排序

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * shell_sort.c - Simple shell sort implementation. * * 2014-7-5 YU Heng-yang. */#include #include "common.h"#include void shell_s

2014-07-10 10:37:34 654

原创 快速排序3——非递归实现

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * quick_sort_nonrecursive.c - Non-recursive quick sort implementation. * * Modify MAX_DEPTH to a larger number if large * input is expec

2014-07-10 10:36:19 807

原创 快速排序2

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * quick_sort2.c - Quick sort implementation 2. * * 2014-7-8 YU Heng-yang. */#include #include #include #include "common.h"void qu

2014-07-10 10:34:11 439

原创 快速排序1

/* * Copyright 2014 YU Heng-yang. All rights reserved. * * quick_sort.c - Quick sort implementation 1. * * 2014-7-5 YU Heng-yang. */#include #include #include #include "common.h"void qui

2014-07-10 10:31:55 520

原创 [Let's Write an Interpreter] 2 词法分析

2.1 字符集每一种编程语言都有自己的字符集,即规定了哪些字符是该语言可识别的。Fish的字符集是一个 ASCII 子集:0 1 2 3 4 5 6 7 8 9 a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z + - * / % =

2014-06-01 20:22:35 947

原创 [Let's Write an Interpreter] 1 介绍

## 1.1 背景 ##**说明**:*文中很多地方夹杂着英文(包括标题),绝对不是作者故弄玄虚,而是始终觉得有时候中文不能真正表达原意,仅此说明,望读者谅解。*----------背景其实很简单,自己对编译器和操作系统感兴趣,但想实践却发现是一个难题。编译器和操作系统都是 giants,自己在搜寻相关的资料时,发现很少有为入门读者准备的资料,即完整的带

2014-06-01 19:59:00 951

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除