摘要:
1. 判断一个单词是否拼写正确 2. 请模拟实现一个简单的中英互译的字典 3. log文件中有许多异常重复的IP地址,请统计出每个异常IP出现了多少次? 利用上篇搜索二叉树的结构稍作修改typedef char*... 阅读全文
摘要:
#include#include#includetypedef int DataType; typedef enum PtrTag{ THREAD, // 线索化 LINK, // 链接左右孩纸 }PtrTa... 阅读全文
摘要:
#include#include#include#includetypedef int DataType;typedef struct BSTreeNode{ struct BSTreeNode* _left; ... 阅读全文
摘要:
heap.h#include#include#include#includetypedef int DataType; void AdjustDown(DataType* a, size_t n, int roo... 阅读全文
摘要:
BinTree.h#ifndef _BINTREE_H_#pragma once #include#include#include#includetypedef int BTDataType; //typedef... 阅读全文
摘要:
// 链表带环问题; 是环,返回相遇点SListNode* SListIsCycle(SListNode* list){ SListNode* fast,*slow ; assert(list); fast = ... 阅读全文
摘要:
SListNode.h #ifndef _SLISTNODE_H_#define _SLISTNODE_H_#include#include#include#include#includetypedef int ... 阅读全文
摘要:
Snake.h#ifndef _SNAKE_H_#include#include#include#include#include#define _SNAKE_H_#define FOOD "■"#define I... 阅读全文
摘要:
Stack.h#ifndef _STACK_H_#define _STACK_H_#include#include#include#include#includetypedef int DataType;type... 阅读全文
摘要:
#include#include #include #include"stdlib.h"using namespace std;class Node{ public: int num; char name[2... 阅读全文