摘要:
https://discuss.leetcode.com/topic/70706/beyond-my-knowledge-java-solution-with-in-line-explanation https://discuss.leetcode.com/topic/70664/c-7-line- 阅读全文
posted @ 2016-12-22 13:14
neverlandly
阅读(966)
评论(0)
推荐(0)
摘要:
这道题我一开始发现了数学规律: length of consecutive chars vs number of different substring “a” -> 1 = 1 "ab" -> 3 = 1+2 "abc" -> 6 = 1+2+3 "abcd" -> 10 = 1+2+3+4 于是 阅读全文
posted @ 2016-12-22 11:05
neverlandly
阅读(632)
评论(0)
推荐(0)
摘要:
目前只想出了Brute Force做法(1165ms), 看到有<20ms的做法,未深究: 阅读全文
posted @ 2016-12-22 07:24
neverlandly
阅读(670)
评论(0)
推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-12-22 05:53
neverlandly
阅读(1705)
评论(0)
推荐(0)
浙公网安备 33010602011771号