Arnab Chakraborty has Published 4293 Articles

Rectangle Data in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:55:26

2K+ Views

Multivariate cross-sectional data (i.e. not time-series or repeated measure) are indicated by rectangular data in which each column is a variable (feature), and each row is a case or record.First procedure of representing rectangle data is to map it onto a higher-dimensional point data and use point-based data structure procedures ... Read More

Bucketing Methods in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:53:36

665 Views

Bucketing builds, the hash table as a 2D array instead of a single dimensional array. Every entry in the array is big, sufficient to hold M items (M is not amount of data. Just a constant).ProblemsLots of wasted space are created.If M is exceeded, another strategy will need to be ... Read More

Optimal Lopsided Trees in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:52:33

301 Views

The problem of finding optimal prefix-free codes for unequal letter costs consists of computing a minimum cost prefix-free code in which the encoding alphabet consists of unequal cost (length) letters, of lengths α and β, where α ≤ β. We restrict ourselves limited to binary trees.The code is represented by ... Read More

Height Limited Huffman Trees in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:47:57

623 Views

The diagram of height limited or depth limited Huffman tree is given belowTree depth limitation is a non-trivial issue that most real-world Huffman implementations must deal with.Huffman construction doesn't limit the height or depth. If it would, it is not possible for it to be "optimal". Granted, the largest depth ... Read More

Huffman Algorithm for t-ary Trees in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:45:40

610 Views

A simple algorithmA collection of n initial Huffman trees is prepared, each of which is a single leaf node. Keep the n trees onto a priority queue organized by weight (frequency).Remove or delete the first two trees (the ones with smallest weight). Combine these two trees to create a new ... Read More

Huffman Codes and Entropy in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:34:25

2K+ Views

Huffman CodeA Huffman code is defined asa particular type of optimal prefix code that is commonly used for lossless data compression.The process of finding or implementing such a code proceeds by means of Huffman coding, an algorithm which was developed by David A. Huffman while he was a Sc.D. student ... Read More

Splay in Virtual Tree in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:18:21

185 Views

In virtual tree, some edges are treated as solid and some are treated as dashed. Usual splaying is performed only in the solid trees. To splay at a node y in the virtual tree, following method is implemented.The algorithm looks at the tree three times, once in each pass, and ... Read More

Solid Trees in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:12:53

504 Views

For the given forest, we create some of the given edges “dashed” and the rest of them are kept solid. Each non-leaf node is associated with only one “solid” edge to one of its children. All other children will be connected with the help of a dashed edge.To be more ... Read More

Optimality of Splay Trees in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:05:50

162 Views

Dynamic optimality conjectureIn addition to the proven performance guarantees for splay trees there is an unproven conjecture with great interest. Dynamic optimality conjecture denotes this conjecture. Let any binary search tree algorithm such as B accesses an element y by traversing the path from the root to y at a ... Read More

Adaptive Merging and Sorting in Data Structure

Arnab Chakraborty

Arnab Chakraborty

Updated on 07-Jan-2020 12:01:27

900 Views

ADAPTIVE MERGE SORTAdaptive Merge Sort performs the merging of sorted sub-list merge sort does. However, the size of initial sub-list is depended upon the existence of ordering among the list of elements rather than having sub-list of size 1. For example, consider list in the figure.It consists of 2 sorted ... Read More

Advertisements