会议专题

Analytic Criterion and Algorithm for the Lowest Common Ancestor of Two Neighboring Nodes in a Complete Binary Tree

Finding the lowest common ancestor (LCA) of two nodes in a binary tree has been focused both in graph theory and computer science. The paper puts forward and proves an analytic criterion for the LCA of two neighboring nodes in a complete binary tree. The criterion mainly concerns addition, subtraction and bitwise operations, needs no searching procedures and thus is easy to implement in software programming as well as hardware programming. An algorithm that has logarithmic time complexity is also presented with C-language implementation in the paper.

Binary tree lowest common ancestor Criterion

Wang Xiongbo Zhou Jun

Department of Mechtronic Engineering Foshan University Foshan City, Guangdong Province, China College of Information Science and Technology Hunan Agricultural University Changsha City, Hunan Pro

国际会议

2011 3rd International Conference on Computer and Automation Engineering(ICCAE 2011)(2011年第三届IEEE计算机与自动化工程国际会议)

重庆

英文

270-272

2011-01-21(万方平台首次上网日期,不代表论文的发表时间)