arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Artificial Intelligence

Algorithm of Searching Longest Path in Binary Tree Based on Traverse

Zjao Xiao-lei

· Modern Electronics Technique

See on the map

Abstract

By analyzing the storage structure of binary tree,a kind of application of binary tree traversal algorithm,that is,the algorithm of searching the longest path in binary tree,which is realized by solving the depth of binary tree,is introduced.The solution ideas of searching the longest path in binary tree are proposed in detail.The design scheme of the algorithm is given by analysing the expected results.The algorithm description in C language is presented.

More like this