摘要:
转自:Pavel's BlogNow let's say we want to find the LCA for nodes 4 and 9, we will need to traverse the whole tree to compare each node so that we can lo... 阅读全文
posted @ 2015-02-01 13:25
neverlandly
阅读(535)
评论(0)
推荐(0)
摘要:
最近遇到很多问题都跟Prime有关,于是总结一下:Prime definition:Aprime number(or aprime) is anatural numbergreater than 1 that has no positivedivisorsother than 1 and itsel... 阅读全文
posted @ 2015-02-01 06:12
neverlandly
阅读(490)
评论(0)
推荐(0)
浙公网安备 33010602011771号