Do you remember seeing movies, matrices? You remember zero and green columns that flow down the screen. These zeros and zeros are part of a numbering system called binary. Binary is a simple system that uses only two character symbols, but it does a big counting work. Binary is not a digital system used for routine work. Since there is no shortcut, you need to run the equation the same way each time, and most calculations take a long time.
We are already familiar with the term binary as already discussed in the context of binary (or radix 2) digital systems. But binary has a simpler meaning. It is related to two things, or it consists of two things. In the background of the tree, at first it looks a little strange. A tree can have only one root - this is the function to define it! So how does a tree become two trees? How do you divide a tree into two? The names of binary trees are taken from their structure; more specifically, their names are derived from the way in which their subtrees are structured. As expected, each binary tree has a root node. But then things have become narrower and stricter. A binary tree can only have two links connecting to two nodes. This means that each parent node can have only two child nodes and will not exceed this node.
Binary search trees are very special in computer science. The reason is simple. The ability of the binary search algorithm can be used. As you might imagine, not all binary trees are binary search trees - they must be organized in a specific way, as they perform binary searches. Although this definition is complete, in fact it is easy to understand and master it by observing it. Let's make it easy by drawing. We use the same binary search tree previously with 26 root nodes; let's reorganize it into a linear structure like an array instead of the tree format to make it easier to see.
Let's start with the name of the question. Which zero and zero do the computer consist of? These are based on a digital system called binary. The binary system relies on a simple idea, you can use two digits instead of using 10 digits to compute - the way we learn in kindergarten. The binary system used in today's computer was created by Gottfried Wilhelm Leibniz in 1679, but the history of this calculation can be traced back to the ancient Egyptian.
Imagine you can only use binary numbers throughout the day. How do you say 8-bit binary number 10000000? Since there is no "one million" in the binary, we can not say "10 million". It is only 0 and 1. The correct pronunciation of 10000000 is "one thousand and zero zero". It is really annoying to say price or other floating point values, as you always have to consider the index and mantissa. "You can borrow $ 25 for Tic Tac," he said. What are some Tic Tacs floating point numbers in IEEE - 754?