Binary Tree - 101 Computing https://www.101computing.net Boost Your Programming Skills! Sun, 11 Aug 2024 15:11:40 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png Binary Tree - 101 Computing https://www.101computing.net 32 32 Morse Code using a Binary Tree https://www.101computing.net/morse-code-using-a-binary-tree/ Tue, 30 Nov 2021 23:08:45 +0000 https://www.101computing.net/?p=13057 The Morse Code was designed to quickly transfer messages using a series of “dots (.)” and “dashes (-)”. Morse code was named after Samuel Morse, one of the inventors of the telegraph. The International Morse Code includes the 26 letters

The post Morse Code using a Binary Tree first appeared on 101 Computing.

]]>
Prime Factor Tree Algorithm https://www.101computing.net/prime-factor-tree-algorithm/ Tue, 09 Nov 2021 22:37:40 +0000 https://www.101computing.net/?p=12890 The Prime Factor Tree is a visual technique used in Maths to workout all the prime factors of a large number. With this approach, all the leaf nodes (nodes without sub-branches) are the prime factors of the root node. For

The post Prime Factor Tree Algorithm first appeared on 101 Computing.

]]>
Binary Search Tree Implementation https://www.101computing.net/binary-search-tree-implementation/ Thu, 04 Mar 2021 20:35:59 +0000 https://www.101computing.net/?p=12292 Binary Search Trees are an effective solution to store data in a computer program and perform a binary search. The benefits of using a BST (Binary Search Tree) data structure is that data can be added to the tree as

The post Binary Search Tree Implementation first appeared on 101 Computing.

]]>
Lossless Compression: Huffman Coding Algorithm https://www.101computing.net/lossless-compression-huffman-coding-algorithm/ Thu, 04 Mar 2021 12:27:16 +0000 https://www.101computing.net/?p=12259 The Huffman Coding algorithm is used to implement lossless compression. For the purpose of this blog post, we will investigate how this algorithm can be implemented to encode/compress textual information. The principle of this algorithm is to replace each character

The post Lossless Compression: Huffman Coding Algorithm first appeared on 101 Computing.

]]>
Binary Trees – Linked Lists https://www.101computing.net/binary-trees-linked-lists/ Thu, 27 Apr 2017 10:45:05 +0000 http://www.101computing.net/?p=4476 Binary trees are useful data structures used to solve specific computational problems. They provide a visual representation of how data can be stored and linked. Computers use linked lists to store the information of binary trees. This blog post will

The post Binary Trees – Linked Lists first appeared on 101 Computing.

]]>
Binary Expression Trees https://www.101computing.net/binary-expression-trees/ Tue, 25 Apr 2017 16:59:27 +0000 http://www.101computing.net/?p=4455 A binary expression tree is a specific kind of a binary tree used to represent expressions. Two common types of expressions that a binary expression tree can represent are algebraic expressions and boolean expressions. These trees can represent expressions that

The post Binary Expression Trees first appeared on 101 Computing.

]]>
Traversal of a Binary-Tree https://www.101computing.net/traversal-of-a-binary-tree/ Mon, 24 Apr 2017 21:26:35 +0000 http://www.101computing.net/?p=4427 In this blog post we will investigate four key algorithms used to read through the content of a binary tree: Breadth-First Traversal Algorithm Depth-First Algorithms: Pre-Order Traversal In-Order Traversal Post-Order Traversal Binary Tree? A Binary Tree is a data structure

The post Traversal of a Binary-Tree first appeared on 101 Computing.

]]>