討論串[問題] Google Interview Question (2)
共 9 篇文章
內容預覽:
OK, here is my reply. Sorry for the delay, I have been busy on something.. The reason I can't understand your statement in the last few lines of. Step
(還有1799個字)
內容預覽:
我明白 median of medians 可以每次幹掉某個比例的 elements. 但重點是所謂的 "很快就找到了" 到底有多快呢?. Tom Sirgedas 說他的解法需要 17 次. 而我之前貼的網站的解法經 F 大及 P 大點出可以改進的地方後. 看來只需要 16 次 所以目前看來最佳解
(還有1843個字)