GSLC Data Structures 03
Hashing Table & Binary Tree Binary Tree A binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child. It is implemented mainly using Links. Binary Tree Representation A tree is represented by a pointer to the topmost node in tree. If the tree is empty, then value of root is NULL. A Binary Tree node contains following parts : 1. Data 2. Pointer to left child 3. Pointer to right child HashingHash Function A function that converts a given big input key to a small practical integer value. The mapped integer value is used as an index in hash table. A good hash function should have following properties. 1) Efficiently computable. 2) Should uniformly distribute the keys. Hash Tree on Blockchain A tree in which every leaf node is labelled with the cryptographic ...