Algorithms
-
Priority Queue
Priority Queues are used to short heaps. Priority queues are used in operating system for load balancing and interrupt handling. Priority queues are used in huffman codes for data compression.…
-
Algorithm Analysis
Runtime Analysis of an Algorithm
-
Binary Search
Binary search is used to search a key element from multiple elements. Binary search is faster than linear search. In case of binary search, array elements must be in ascending order. If you have unsorted array, you…
-
Linear Search
The list of array is traversed sequentially and every element is checked. In this type of searching, we simply traverse the list completely and match each element of the list…






