自定义博客皮肤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 quicksortQuicksort, 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 417

原创 Divide and conquer

Categroy:1.Binary search2.Powering a number3.Fibonacci numbers4.Matrix Multiplication5.Starass's algorithem1.Binary searchmaster thoremT(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-notationO(g(n)) = {f(n): there exis

2013-12-16 17:06:19 618

原创 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 756

原创 STL Function Objects

STL Function Objectsmem_fun & mem_fun_refTest 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关注的人

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