码迷,mamicode.com
首页 > 其他好文 > 详细

Mathematics Review

时间:2014-05-24 18:36:56      阅读:409      评论:0      收藏:0      [点我收藏+]

标签:algorithms   math   mathematics   logarithms   exponents   

   When I want to learn data structures and algorithms, I find that mathematics is important for it.Therefore, I begin to review several basic knowledges of mathematics.

1、Exponents

bubuko.com,布布扣

This picture lists some of the basic formulas we need to memorize.

2、Logarithms:

Notices:
In computer science, all logarithms are to base 2 unless specified otherwise.

Definition:
bubuko.com,布布扣

From this definition, we can get several convenient equalities: 
bubuko.com,布布扣
bubuko.com,布布扣
bubuko.com,布布扣
bubuko.com,布布扣

We can use these formulas to calculate times and spaces of algorithms.

Thank you for your reading!
                         --By lzq at Nanyang 2014.5.22

Mathematics Review,布布扣,bubuko.com

Mathematics Review

标签:algorithms   math   mathematics   logarithms   exponents   

原文地址:http://blog.csdn.net/lizuqingblog/article/details/26605103

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!