Construct Optimal Binary Search Tree by Using Greedy Algorithm
Chun Sheng Shi, Ming Jian Zhao, Chunyu Li, Chunlei Lin, Zhengjie Deng
Abstract
Open-access reader
Chun Sheng Shi, Ming Jian Zhao, Chunyu Li, Chunlei Lin, Zhengjie Deng
Abstract
Open-access reader
Focus on some constructions of binary tree, there are many methods to resolve this problem.With analyzes between binary search tree and Huffman tree, we introduce information retrieval issue and compare the Huffman tree with optimal binary search tree.And we further present a method that use greedy algorithm to construct binary search tree and use C++ to realize method.Experimental provides some conclusions that greedy algorithm is more efficiency than dynamic programming algorithm.
A significance statement is not available in the OpenAlex record.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Focus on some constructions of binary tree, there are many methods to resolve this problem.With analyzes between binary search tree and Huffman tree, we introduce information retrieval issue and compare the Huffman tree with optimal binary search tree.And we further present a method that use greedy algorithm to construct binary search tree and use C++ to realize method.Experimental provides some conclusions that greedy algorithm is more efficiency than dynamic programming algorithm.
Key concepts: Optimal binary search tree, Huffman coding, Self-balancing binary search tree, Binary tree, Computer science, Greedy algorithm, Ternary search tree, Binary search tree