自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

手机软件开发工作者

一个手机工作者的记录

  • 博客(5)
  • 收藏
  • 关注

原创 QuickSort

I.Description of quicksort Quicksort, like merge sort, is based on the divide-and-conquer paradigm introduced in Section 2.3.1. Here is the three-step divide-and-conquer process for sorting a typic

2013-12-24 16:20:54 418

原创 Divide and conquer

Categroy: 1.Binary search 2.Powering a number 3.Fibonacci numbers 4.Matrix Multiplication 5.Starass's algorithem 1.Binary search master thorem T(n) = aT(n/b) +f(n) CASE 1:

2013-12-17 17:13:05 473

原创 Asymptotic Notation and Recurrences

Asymptotic notation Θ-notation Θ(g(n)) = {f(n) : there exist positive constants c1, c2, and n0 such that 0 ≤ c1g(n) ≤ f(n) ≤ c2g(n) for all n ≥ n0} O-notation O(g(n)) = {f(n): there exis

2013-12-16 17:06:19 619

原创 Introduction: Analysis of Algorithms, Insertion Sort, Merge Sort

Sorting: The problem of sorting: Input: sequence output: permutation such that a1' Inserting sort: 1)think at index j, the sequence of the  left index of j is sorted. 2)we insert j to the l

2013-12-12 16:53:20 757

原创 STL Function Objects

STL Function Objects mem_fun & mem_fun_ref Test code: void foo (const std::vector& coll) { using std::for_each; using std::bind2nd; using std::mem_fun_ref;

2013-12-03 11:01:27 539

空空如也

空空如也

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

TA关注的人

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