演算法與資料結構——序

cool_cool_coo1發表於2019-02-02

為什麼要學習演算法?

搜尋引擎:搜尋演算法+排序演算法

推薦演算法:更加方便的得到需要的資訊,機器學習

深度學習:機器學習的一個分支,alphago

學好演算法,才能創造出更有意義的東西

 白板程式設計

資料結構的重要性

algorithms+data structure=program

演算法思想:

  • 分治演算法-歸併排序,快速排序...
  • 貪心演算法-最小生成樹...
  • 動態規劃-最小生成樹...
  • 遞迴搜尋-樹形結構...
Donald Ervin Knuth :
"We have seen that computer programming is an art, because it applies 
accumulated knowledge to the world, because it requires skill and 
ingenuity, and especially because it produces objects of beauty. A 
programmer who subconsciously views himself as an artist will enjoy what
 he does and will do it better."

 

相關文章