確切反映咗一位教授 20 年前所寫嘅 Statement

The greatest shortcoming of the human race is our inability to understand the exponential function.

市民不理解 Exponential 的威力自然冇危機意識,不過莫講過話一般市民,連恆常處理數據嘅 Software Developer 都會寫出以下 JS Function

arr.sort((a,b) => arr.indexOf(b)- arr.indexOf(a))

#心水清嘅朋友應該睇得出係 O(n^2)
#如有雷同 實屬不幸

不妨鼓勵下身邊嘅 Developer 朋友做一次 Linear vs Exponential 嘅 Benchmark,無論係 CS Grad 或者 BootCamp Grad,及早認識 Exponential 嘅威力