×

Loading...

不错,思路干净简洁。感觉平均不会close to O(n^2) ,可能会O(n^2*log(n))。我觉得应该有O(n^2)的算法,不过解释起来比较复杂,如果周末有空我会贴上来。

geekcode (文心雕码)
(#9938556@0)
2016-2-10 -05:00
Reply
Page address has been copied.
To share, click to copy page address.
Share Online by QR Code

Back To Topic: 一道面试题,大家给出出主意哈,我一点头绪都没有

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习学科技术