自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (21)
  • 收藏
  • 关注

原创 二叉树 c 实现

/* binaryTreeMain.c */// #define CHAR#include "ds.h"#ifdef CHAR typedef char TElemType; TElemType Nil=' ';#endif#ifdef INT typedef int TElemType; TElemType Nil=0;#endif#include "binaryTree.

2017-09-27 14:34:09 276

原创 C string

#include <stdio.h>#include <stdlib.h>#include <string.h>typedef struct{ char *ch; int length;}MyString;int InitMyString(MyString *s){ // s = (MyString*)malloc(sizeof(MyString)); // 不

2017-09-09 12:49:00 241

转载 函数指针

[toc] 内容来自 深入理解C指针 这本书堆栈程序栈程序栈用于支持函数执行,通常与堆共享一段内存区域,栈通常占用下部,堆用上部。 程序栈存放栈帧 stack frame 也称 活跃记录 活跃帧。栈帧存放函数参数与局部变量,堆管理动态内存。栈帧的组织返回地址局部数据存储参数存储栈指针和基指针:栈指针指向栈顶,基指针指向栈帧内部地址,比如返回地址局部函数指针传递空指针传递指针的指针如果想

2017-09-08 10:57:35 264

转载 c指针和结构体

指针与结构体

2017-09-08 10:00:49 230

原创 c指针 c的动态内存管理

Some base to knownull指针操作符指向常量的指针c的动态内存管理内存泄漏丢失地址动态内存分配函数要不要强制类型转换重复释放处理迷途指针具体请参考 深入理解c指针 第二章Some base to know声明时 * 两边的空白无关紧要 指针在声明后如果不初始化,指向的内容不合法,不能使用。 指针类型指示了指针在 + - 的时候的行为* 号是重载的运算符,在声明

2017-09-07 21:43:04 310

原创 链表 c++

linearLinkedList.h#include <iostream>#include <string>using namespace std;struct Node{ int data; Node *next; Node(int a){data=a; next=NULL;}};class LinkList{public: LinkList();

2017-09-07 13:08:36 215

转载 C++ 结构体初始化 - 转载

http://www.cnblogs.com/Vincent-Bryan/p/6622790.html#include<bits/stdc++.h>using namespace std;struct Node{ int M, V; Node(int a, int b){ M = a; V = b; }};int main(){ No

2017-09-06 22:29:07 224

转载 详解c++指针的指针和指针的引用-转载

http://www.cnblogs.com/li-peng/p/4116349.html

2017-09-05 23:15:51 201

原创 number theory 基础数论

Divisibility and divisorsPrime and composite numbersCommon divisors and greatest common divisorsRelatively prime integersUnique factorization最大公约数Modular arithmeticThe groups defined by modular

2017-09-04 20:09:13 2267

原创 hash table

hash tableshash functiondivision methodmultiplication methodUniversal hashinghash tables如图所示,使用一个hash function将原来的key映射到hash表中。碰撞发生在不同的key映射到了同一个位置。hash functiondivision methodh(k)=kmodmh(k) = k\mo

2017-09-03 12:48:21 285

原创 dynamic sets

操作分为两类: queries, modifying operation,前者只是返回信息,后者会改变setsearch(S, k)insert(S, x)delete(S, x)minimum(S)maximum(S)successor(S, x)predecessor(S, x)

2017-09-02 11:04:20 739

原创 Medians and Order Statistics

selection problem最小最大Randomized selectSelection in worst-case linear timeith order statistic: 第i小的元素 median: 中位数selection probleminput:n个大小不同的数和一个整数i output:第i小的元素可以先排序,再选择,时间复杂度 O(nlgn)O(n\lg{n

2017-09-01 21:39:24 632

mpi programming

Practical MPI Programming MPI Programming Guide Parallel Programming in OpenMP

2019-02-19

Tom Apostol Mathematical Analysis 2ed.pdf

Tom Apostol Mathematical Analysis 2ed.pdf

2018-09-11

Python 3 Text Processing with NLTK 3 Cookbook.pdf

Python 3 Text Processing with NLTK 3 Cookbook.pdf Python 3 Text Processing with NLTK 3 Cookbook.pdf

2017-12-23

经典教材:差分方程基本教程- Elaydi.pdf

经典教材:差分方程基本教程- Elaydi.pdf 经典教材:差分方程基本教程- Elaydi.pdf 经典教材:差分方程基本教程- Elaydi.pdf

2017-10-20

编译原理(高清龙书中文版).pdf

编译原理(高清龙书中文版).pdf 编译原理(高清龙书中文版).pdf

2017-10-17

Introduction to Differential Equations with Dynamical Systems

Introduction to Differential Equations with Dynamical Systems (Stephen L. Campbell).pdf

2017-10-16

An Introduction to Statistical Learning with .pdf

An Introduction to Statistical Learning with .pdf Statistical Learning

2017-10-16

离散数学及其应用 原书第6版(美)罗森著 第六版中文版.pdf

离散数学及其应用 原书第6版(美)罗森著 第六版中文版.pdf 离散数学及其应用 原书第6版(美)罗森著 第六版中文版.pdf

2017-10-16

C++ Primer Plus英文版(第六版).pdf

C++ Primer Plus英文版(第六版).pdf C++ Primer Plus英文版(第六版).pdf

2017-10-16

Data Structures and Algorithms in C++, 4th edition.pdf

Data Structures and Algorithms in C++, 4th edition.pdf

2017-10-02

Neural Networks and Deep Learning

2017-04-27

Nonlinear Programming_Bertsekas

2017-04-27

Advanced.Programming.in.the.UNIX.Environment.3rd.Edition

2017-04-27

R语言实战(中文完整版)

2017-04-27

Python网络编程基础

2017-04-27

A First Course in Machine Learning

2017-04-27

空空如也

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

TA关注的人

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