This Post is all about Different types of Sorting Techniques used in Data Structures.
It Contains algorithms of
- Bubble Sort
- Selection Sort
- Insertion Sort
Click Below — to get access to slides —
This Post is all about Different types of Sorting Techniques used in Data Structures.
It Contains algorithms of
Click Below — to get access to slides —
Guys, Here is the paper of previous year of Data Structure. The Slides regarding to same subject is uploaded on the blog.
Visit Here For Theory Section : – Theory Part For Data Structure
Visit Here For Animated Example : – Animated Examples of Data Structure
Visit Here For Programs and Algorithms : – Algorithm and Programs
The Paper Goes Here……
A circular linked list is the link list in which the last node points to header node,
Manipulation of all the nodes are same as we do in the previous linked list.
Flash –
Heap sort is simple to implement, performs an O(n·lg(n)) in-place sort, but is not stable.
The first loop, the Θ(n) “heapify” phase, puts the array into heap order. The second loop, the O(n·lg(n)) “sortdown” phase, repeatedly extracts the maximum and restores heap order.
Example –
Algorithm –
(1) for x on list L do (2) INSERT(x, S); (3) while not EMPTY(S) do begin (4) y := MIN(S); (5) writeln(y); (6) DELETE(y, S) end
Click Down For Program –
Floyd-Warshall algorithm known as Modified Warshall’s Algorithm used to solve the All-Pairs Shortest Path problem in Graphs. The Algorithm’s time complexity is O(n3) for a graph with n nodes.
Algorithm–
For each vertex v dist[v][v] ← 0 For each edge (u,v) dist[u][v] ← w(u,v) For k from 1 to |V| for i from 1 to |V| for j from 1 to |V| if dist[i][k] + dist[k][j] < dist[i][j] then dist[i][j] ← dist[i][k] + dist[k][j]
Click below for Program –
DIJKSTRA (G, w, s)
Above is the algorithm for dijkstra’s minimum path. Click below for more…
A subgraph that spans (reaches out to ) all vertices of a graph is called a spanning subgraph.
A subgraph that is a tree and that spans (reaches out to ) all vertices of the original graph is called a spanning tree.
Among all the spanning trees of a weighted and connected graph, the one (possibly more) with the least total weight is called a minimum spanning tree (MST).
Click Below For More
The Bellman–Ford algorithm is an algorithm that computes shortest paths from a single source vertex to all of the other vertices in a weighted digraph.
Click below to view more –
Huffman coding is a coding technique for lossless compression of data base based upon the frequency of occurance of a symbol in that file.
In huffman coding every Data is based upon 0’s and 1’s which reduces the size of file.
Using binary representation, the number of bits required to represent each character depends upon the number of characters that have to be represented. Using one bit we can represent two characters, i.e., 0 represents the first character and 1 represents the second character.
Click Below for More – –
Here is how we all can create a software based on C++ without a GUI. Graphic will be generated through <graphic.h> and <windows.h> but all we need is an algorithm and logic to impplement it. How we store data, how we create record and how we manipulate them.
Even With this program you can get the logic to create it, with all extra functions.
We try to implement every single phenomena which will help you to understand the logic.