Wei says to YSITD
寫成 for是 O(n) 吧