Description: Create a binary tree and parameter exchange for each node of the root node to the left and right subtree, find x nodes and output nodes of all its ancestors, create a binary tree in order traversal preorder traversal.
To Search:
File list (Check if you may need any files):
haffman
.......\Huffman
.......\Huffman.sln
.......\Huffman.suo
.......\.......\Debug
.......\.......\.....\CL.read.1.tlog
.......\.......\.....\CL.write.1.tlog
.......\.......\.....\Huffman.exe.embed.manifest
.......\.......\.....\Huffman.exe.embed.manifest.res
.......\.......\.....\Huffman.exe.intermediate.manifest
.......\.......\.....\Huffman.lastbuildstate
.......\.......\.....\Huffman.log
.......\.......\.....\Huffman.obj
.......\.......\.....\Huffman.pch
.......\.......\.....\HuffmanTree.obj
.......\.......\.....\Huffman_manifest.rc
.......\.......\.....\link-cvtres.read.1.tlog
.......\.......\.....\link-cvtres.write.1.tlog
.......\.......\.....\link.6492-cvtres.read.1.tlog
.......\.......\.....\link.6492-cvtres.write.1.tlog
.......\.......\.....\link.6492.read.1.tlog
.......\.......\.....\link.6492.write.1.tlog
.......\.......\.....\link.read.1.tlog
.......\.......\.....\link.write.1.tlog
.......\.......\.....\mt.read.1.tlog
.......\.......\.....\mt.write.1.tlog
.......\.......\.....\rc.read.1.tlog
.......\.......\.....\rc.write.1.tlog
.......\.......\.....\stdafx.obj
.......\.......\.....\vc100.idb
.......\.......\.....\vc100.pdb
.......\.......\Huffman.cpp
.......\.......\Huffman.vcxproj
.......\.......\Huffman.vcxproj.filters
.......\.......\Huffman.vcxproj.user
.......\.......\HuffmanNode.h
.......\.......\HuffmanTree.cpp
.......\.......\HuffmanTree.h
.......\.......\MinHeap.h
.......\.......\ReadMe.txt
.......\.......\stdafx.cpp
.......\.......\stdafx.h
.......\.......\targetver.h
.......\.......\test.txt
实习一
......\123
......\...\123
......\...\123.sln
......\...\123.suo
......\...\...\123.cpp
......\...\...\123.vcxproj
......\...\...\123.vcxproj.filters
......\...\...\123.vcxproj.user
......\...\...\BinaryTree.h
......\...\...\Debug
......\...\...\.....\123.exe.embed.manifest
......\...\...\.....\123.exe.embed.manifest.res
......\...\...\.....\123.exe.intermediate.manifest
......\...\...\.....\123.lastbuildstate
......\...\...\.....\123.log
......\...\...\.....\123.obj
......\...\...\.....\123.pch
......\...\...\.....\123_manifest.rc
......\...\...\.....\CL.read.1.tlog
......\...\...\.....\CL.write.1.tlog
......\...\...\.....\link-cvtres.read.1.tlog
......\...\...\.....\link-cvtres.write.1.tlog
......\...\...\.....\link.220-cvtres.read.1.tlog
......\...\...\.....\link.220-cvtres.write.1.tlog
......\...\...\.....\link.220.read.1.tlog
......\...\...\.....\link.220.write.1.tlog
......\...\...\.....\link.3084-cvtres.read.1.tlog
......\...\...\.....\link.3084-cvtres.write.1.tlog
......\...\...\.....\link.3084.read.1.tlog
......\...\...\.....\link.3084.write.1.tlog
......\...\...\.....\link.3664-cvtres.read.1.tlog
......\...\...\.....\link.3664-cvtres.write.1.tlog
......\...\...\.....\link.3664.read.1.tlog
......\...\...\.....\link.3664.write.1.tlog
......\...\...\.....\link.4564-cvtres.read.1.tlog
......\...\...\.....\link.4564-cvtres.write.1.tlog
......\...\...\.....\link.4564.read.1.tlog
......\...\...\.....\link.4564.write.1.tlog
......\...\...\.....\link.7352-cvtres.read.1.tlog
......\...\...\.....\link.7352-cvtres.write.1.tlog
......\...\...\.....\link.7352.read.1.tlog
......\...\...\.....\link.7352.write.1.tlog
......\...\...\.....\link.7764-cvtres.read.1.tlog
......\...\...\.....\link.7764-cvtres.write.1.tlog
......\...\...\.....\link.7764.read.1.tlog
......\...\...\.....\link.7764.write.1.tlog
......\...\...\.....\link.7824-cvtres.read.1.tlog
......\...\...\.....\link.7824-cvtres.write.1.tlog
......\...\...\.....\link.7824.read.1.tlog
......\...\...\.....\link.7824.write.1.tlog
......\...\...\.....\link.read.1.tlog
......\...\...\.....\link.write.1.tlog
......\...\...\.....\mt.read.1.tlog
......\...\...\.....\mt.write.1.tlog
......\...\...\.....\rc.read.1.tlog