演算法是計算機科學非常重要的基礎科目。簡單來說,演算法就是用電腦算數學的學問,可以說是數學科目。
想要解決現實生活當中的各種問題,計算機科學家就把現實問題對應到數學問題,然後設計公式、把公式寫成程式,讓電腦執行程式計算答案 ── 這些公式就叫做演算法。
web.ntnu.edu.tw
Algorithm is a procedure for solving a mathematical problem in a finite number of steps that frequently involves repetition of an operation
broadly : a step-by-step procedure for solving a problem or accomplishing some end
The current term of choice for a problem-solving procedure, algorithm, is commonly used nowadays for the set of rules a machine (and especially a computer) follows to achieve a particular goal.
www.merriam-webster.com
沒有留言:
發佈留言