3

学了算法有什么用?

 2 years ago
source link: https://forrestsu.github.io/posts/life/%E5%AD%A6%E4%BA%86%E7%AE%97%E6%B3%95%E6%9C%89%E4%BB%80%E4%B9%88%E7%94%A8/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

学了算法有什么用?

2017年7月26日
| 字数 393
| Life
| 阅读 31

  大学4年,基本上一直都在学习算法,大四的时候写过Android APP(校园助手)!   那算法到底有什么用呢? 面试官又经常会问,那么工作中又能用多少?下面我主要根据自己的经历和感受来说下自己的观点,抛砖引玉,不足之处还望各位看官指出 :) 。

如果你也懂算法

  如果你也懂算法,用起API来就是看山不是山,写完整个程序就知道 程序的瓶颈在哪,该如何想办法去优化。   如果你也懂算法,当各大电商推出满几百减多少的活动时,你可以用背包来挑选物品,获得最大价值的商品组合。   如果你也懂算法,当房间里的东西摆放得凌乱不堪时,你可以用 Huffman Coding 的思路来摆放你的物品。   如果你也懂算法,你可以从Hall’s marriage theorem 中理解现实中的婚姻模型,去追求一段稳定的婚姻。

  用 0 和 1,你可以创建一个属于你的世界;在 GPU 里,你可以策马扬鞭,指挥千军万马,到达你所向往的远方。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK