Bentley Huang says to YSITD
這應該O(n)