img
All Q&A
1

What is a minimum spanning tree ? Describe Huffman’s Algorithm.   

22 December, 2024
A spanning tree of a graph is just a subgraph that contains all the vertices and is a tree. Huffman’s algorithm is a method for building an extended binary tree with a minimum weighted path length from a set of given weights.
2

What are the differences between AVL Tree & Binary Search Tree ?

22 December, 2024
A binary search tree (BST) is a binary tree data structure which has the following properties: ->each node has a value;
3

Find the time complexity of Binary Search Algorithm. 

22 December, 2024
In binary search each step of the algorithm divides the list of items being searched in half of the list. So we can say that
5

What is a priority queue ?

22 December, 2024
Priority queue is an abstract data type which is like a regular queue or stack data structure, but where additionally each element has a "priority" associated with it.