摘要:
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i 阅读全文
posted @ 2018-08-31 22:01
lypbendlf
阅读(407)
评论(0)
推荐(0)
摘要:
The task is really simple: given N exits on a highway which forms a simple cycle, you are supposed to tell the shortest distance between any pair of e 阅读全文
posted @ 2018-08-31 20:21
lypbendlf
阅读(172)
评论(0)
推荐(0)
浙公网安备 33010602011771号