自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Jason Leaster | Rebuilding the tower of babel

Doing is better than saying.|长期招 Java开发/大数据开发 简历投 jasonleaster@163.com

  • 博客(13)
  • 资源 (11)
  • 收藏
  • 关注

原创 latex 插入中文文献

latex 插入中文文献每次搞Latex都极其心塞。。。以后如果还有机会写paper绝壁争取不写中文的了,神坑中文文献的插入查了老半天都没怎么很多的blog写这个,开一贴。-----------------------------------------------------------------------------------测试环境: Ubuntu/Li

2015-01-30 12:25:29 13057

原创 Haffman Code

Haffman Code什么是Haffman编码?以后再说,嘿嘿先上实现。Python 实现:在这个实现当中,我们并没有统计文本的字符出现频率,仅仅是为Haffman Coding的一个demo."""Code writer : EOFCode file : haffman.pyCode date : 2015.01.28e-mail

2015-01-28 14:11:12 1410

原创 pdflatex 笔记+资源 汇总(update everytime I meet and solve a problem)

利用pdflatex 插入eps格式图片    由于latex命令不支持jpg或png格式的图片,因此只能用pdflatex命令来编译.tex文档一般的插入图片包括\usepackage{graphicx} 即可但是想要插入eps格式的图片又不行了。折腾了一会儿,笔记一下吧,省的以后忘记。\usepackage{pdftoeps}然后包含你想嵌入的e

2015-01-27 13:49:46 1443

原创 Matlab 画向量 笔记一下

老是忘记这个函数  —— quiver能够很方便的画出向量图,比方说:quiver3(0,0,0,1,2,3),将画出一个以(0,0,0)为起点,(1,2,3)为长度的向量画出一个矢量三角形:

2015-01-26 14:46:01 4682

原创 How to print a tree-ADT ? 打印树形结构的算法

How to print a tree-ADT写和树相关的代码的时候老是不方便debug,因为树形结构虽然能够代码构造出来但是如果能够有个很好的方法可视化就更好了。前些天看到一个MIT的代码片段,感激~....一开始你可能会想到一种比较简单的迭代实现,就像之前我做的void putout(int S, int *n)  实现在这里

2015-01-26 12:43:24 2598

原创 Python 踩坑之传参的问题

Python 踩坑之传参的问题前些天刚开始写Python, 没有指针各种不习惯(后来发现很强大。。。)def fun(A) : A[0],A[1],A[2] = A[2], A[1], A[0]def fun2(num) : num += 1x = [1,2,3]fun(x)y = 10fun2(y)fun2(x[0])prin

2015-01-25 22:20:16 1016

原创 资源向导之 “Python beginner”

Python beginner推荐书籍:《Python核心编程》MIT的计算机编程导论,一门非常好的课,如果Python beginner没有其他编程基础的话,这听好门课是一件很赚的事。Introduction to Computer Science and Programming下面是网易把视频搬到GFW里面来的link,下面是08年的

2015-01-25 09:01:48 1198

原创 Pascal triangle 帕斯卡三角形 杨辉三角形 二项式定理

Pascal triangle等段时间再扯pascal triangle~先把一年多以前打印杨辉三角形的方法贴出来(简直不认直视,越来越不敢看以前自己写的东东了)C语言实现:/*************************************************************** Code writer

2015-01-24 16:28:23 2757

原创 <<什么是数学>> 读书笔记 第一章

> 读书笔记 第一章

2015-01-24 14:16:56 1878

原创 为什么Hash函数 H(k) = k % m中 m 尽量不要为2的幂次 也不是要是2^i -1

为什么Hash函数 H(k) = k % m中 m 尽量不要为2的幂次下面的截屏来自CLRS的11章 关于哈希函数的讨论之前我就一直困惑,为什么            When using the division method, we usually avoid certain values of m. For example, m should

2015-01-16 12:11:50 2252 1

原创 Linked List {singly linked list -> doubly linked list -> circular linked list}

Linked List

2015-01-15 16:11:41 1561

原创 Selection in expected linear time O(n)

Selection in expected linear time           The general selection problem appears more difficult than the simple problem of finding a minimum. Yet, surprisingly, the asymptotic running tim

2015-01-15 13:35:00 1392

原创 线性时间排序 Sorting in linear time O(n)

Sorting In Linear Time 之前尝试过很多的排序算法, 都是基于比较的排序算法(base on comparing)Collection of algorithm for sorting (part one)http://blog.csdn.net/cinmyheart/article/details/39268783Collection

2015-01-11 17:11:43 2264

DeepLearningLab1(代码+pdf形式)

DeepLearning Lab1 实验材料,代码+pdf形式

2014-11-03

CSAPP lab5 实验材料

CSAPP lab5 实验材料

2014-10-10

Hello world -- OS

Hello world -- OS

2014-10-06

MIT lab1 JOS 实验指导书

MIT lab1 JOS 实验指导书

2014-10-03

CSAPP lab 5 实验指导书

In this lab you will be writing a dynamic storage allocator for C programs, i.e., your own version of the malloc and free routines. It is quite involved. Start early! We are providing some extra homework­style practice problems for memory allocation in case you find them helpful in preparing for lab 5. They will not be graded (no credit), they are just good practice. Read section 9.9 from the textbook for review. (Note "word" means 4 bytes for these problems.) 1.Practice Problem 9.6 2.Practice Problem 9.7 3.Practice Problem 9.10 4.Homework Problem 9.15 5.Homework Problem 9.16

2014-09-21

CSAPP 六个重要实验 lab4 实验材料

CSAPP 六个重要实验 lab4 实验材料

2014-09-16

CSAPP 六个重要实验 lab3 实验材料

CSAPP 六个重要实验 lab3 实验材料CSAPP 六个重要实验 lab3 实验材料

2014-09-15

CSAPP lab3 实验指导说明

CSAPP lab3 实验指导说明

2014-09-15

CSAPP lab2 实验指导说明

CSAPP lab2 实验指导说明 供大家做实验用

2014-09-10

CSAPP 六个重要实验 lab2 实验材料

CSAPP 六个重要实验 lab2 实验材料

2014-09-10

空空如也

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

TA关注的人

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