会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Victor.Chang
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
下一页
2018年2月28日
搜索二叉树的应用
摘要: 1. 判断一个单词是否拼写正确 2. 请模拟实现一个简单的中英互译的字典 3. log文件中有许多异常重复的IP地址,请统计出每个异常IP出现了多少次? 利用上篇搜索二叉树的结构稍作修改typedef char*...
阅读全文
posted @ 2018-02-28 15:08 VictorChang
阅读(123)
评论(0)
推荐(0)
2018年2月27日
二叉树的线索化
摘要: #include#include#includetypedef int DataType; typedef enum PtrTag{ THREAD, // 线索化 LINK, // 链接左右孩纸 }PtrTa...
阅读全文
posted @ 2018-02-27 17:40 VictorChang
阅读(84)
评论(0)
推荐(0)
搜索结构搜索二叉树
摘要: #include#include#include#includetypedef int DataType;typedef struct BSTreeNode{ struct BSTreeNode* _left; ...
阅读全文
posted @ 2018-02-27 09:20 VictorChang
阅读(97)
评论(0)
推荐(0)
2018年2月26日
堆与最优级队列
摘要: heap.h#include#include#include#includetypedef int DataType; void AdjustDown(DataType* a, size_t n, int roo...
阅读全文
posted @ 2018-02-26 16:14 VictorChang
阅读(98)
评论(0)
推荐(0)
2018年2月25日
二叉树的基础操作
摘要: BinTree.h#ifndef _BINTREE_H_#pragma once #include#include#include#includetypedef int BTDataType; //typedef...
阅读全文
posted @ 2018-02-25 17:25 VictorChang
阅读(117)
评论(0)
推荐(0)
链表面试题(下)
摘要: // 链表带环问题; 是环,返回相遇点SListNode* SListIsCycle(SListNode* list){ SListNode* fast,*slow ; assert(list); fast = ...
阅读全文
posted @ 2018-02-25 14:38 VictorChang
阅读(75)
评论(0)
推荐(0)
2018年1月29日
链表面试题(上)
摘要: SListNode.h #ifndef _SLISTNODE_H_#define _SLISTNODE_H_#include#include#include#include#includetypedef int ...
阅读全文
posted @ 2018-01-29 14:43 VictorChang
阅读(102)
评论(0)
推荐(0)
2018年1月9日
【C】链表实现贪吃蛇小游戏
摘要: Snake.h#ifndef _SNAKE_H_#include#include#include#include#include#define _SNAKE_H_#define FOOD "■"#define I...
阅读全文
posted @ 2018-01-09 17:27 VictorChang
阅读(154)
评论(0)
推荐(0)
2018年1月3日
【C】栈和队列的实现
摘要: Stack.h#ifndef _STACK_H_#define _STACK_H_#include#include#include#include#includetypedef int DataType;type...
阅读全文
posted @ 2018-01-03 14:18 VictorChang
阅读(85)
评论(0)
推荐(0)
2018年1月1日
【C++】单链表实现学生成绩表系统
摘要: #include#include #include #include"stdlib.h"using namespace std;class Node{ public: int num; char name[2...
阅读全文
posted @ 2018-01-01 17:24 VictorChang
阅读(689)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
下一页
公告