上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 1. 判断一个单词是否拼写正确 2. 请模拟实现一个简单的中英互译的字典 3. log文件中有许多异常重复的IP地址,请统计出每个异常IP出现了多少次? 利用上篇搜索二叉树的结构稍作修改typedef char*... 阅读全文
posted @ 2018-02-28 15:08 VictorChang 阅读(115) 评论(0) 推荐(0) 编辑
摘要: #include#include#includetypedef int DataType; typedef enum PtrTag{ THREAD, // 线索化 LINK, // 链接左右孩纸 }PtrTa... 阅读全文
posted @ 2018-02-27 17:40 VictorChang 阅读(81) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includetypedef int DataType;typedef struct BSTreeNode{ struct BSTreeNode* _left; ... 阅读全文
posted @ 2018-02-27 09:20 VictorChang 阅读(95) 评论(0) 推荐(0) 编辑
摘要: heap.h#include#include#include#includetypedef int DataType; void AdjustDown(DataType* a, size_t n, int roo... 阅读全文
posted @ 2018-02-26 16:14 VictorChang 阅读(97) 评论(0) 推荐(0) 编辑
摘要: BinTree.h#ifndef _BINTREE_H_#pragma once #include#include#include#includetypedef int BTDataType; //typedef... 阅读全文
posted @ 2018-02-25 17:25 VictorChang 阅读(111) 评论(0) 推荐(0) 编辑
摘要: // 链表带环问题; 是环,返回相遇点SListNode* SListIsCycle(SListNode* list){ SListNode* fast,*slow ; assert(list); fast = ... 阅读全文
posted @ 2018-02-25 14:38 VictorChang 阅读(72) 评论(0) 推荐(0) 编辑
摘要: SListNode.h #ifndef _SLISTNODE_H_#define _SLISTNODE_H_#include#include#include#include#includetypedef int ... 阅读全文
posted @ 2018-01-29 14:43 VictorChang 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Snake.h#ifndef _SNAKE_H_#include#include#include#include#include#define _SNAKE_H_#define FOOD "■"#define I... 阅读全文
posted @ 2018-01-09 17:27 VictorChang 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Stack.h#ifndef _STACK_H_#define _STACK_H_#include#include#include#include#includetypedef int DataType;type... 阅读全文
posted @ 2018-01-03 14:18 VictorChang 阅读(84) 评论(0) 推荐(0) 编辑
摘要: #include#include #include #include"stdlib.h"using namespace std;class Node{ public: int num; char name[2... 阅读全文
posted @ 2018-01-01 17:24 VictorChang 阅读(606) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页