Binary Tree Sort uses a Binary search tree. The various steps involved in such a...

# admin

A Selection sorting technique uses a general algorithm which uses an ascending or descending...

The popular exchange sort mechanisms are Mean sort, Quick Sort and BSort and Quick...

Towers of Hanoi problem consists of 3 pegs A, B and C. Let n...

In general cases, a non-recursive program runs more efficiently than a recursive program since...

Recursion Recursion and Iteration are two different concepts of achieving a result by a...

Doubly Linked lists eliminates below drawbacks of circular lists – not able to traverse...

Josephus Problem Josephus problem is that some soldiers are being surrounded by their enemies...

Circular lists eliminates same drawbacks of linear lists. In as circular list it is...

Below are the advantages of Dynamic representation of Lists over its Array implementation –...

When Dynamic Linked Lists are represented as Queues, the first node represents front of...

List is a type of dynamic data structure which rectifies certain drawbacks of Stacks...

A Queue is a First In First Out (FIFO) which is an ordered collection...

Game Tree is one of the applications of Binary Trees. For example the one...

Case 1: A list could be represented as a Binary Tree with all the...

Huffman trees are used as message encoding and message decoding trees which is the...

Threaded Binary Trees are those in which the NULL right pointers of all nodes are...

A Binary Search is such a Binary Tree in which the info field of any...

Binary Trees are one of the core data structures used in any programming language...

Here is a C program which accepts an integer and prints out sum from...

Hailstones is a sequence of numbers that could be generated from any positive number...

Here is a C program to generate random numbers between any range of two...

The ‘for’ loop is another important looping structure which could replace ‘while’ and ‘do...

Below is a C program to test for a prime number – main(){ float...

Here is a C program that I wrote years back to implement Russian Peasant...

Here is an implementation of while loop in C to find numbers whose sum...

Here is a simple C program to find circumference and area of a circle from...

Like do-while loop, While loop is the most commonly used looping construct to repeat...

Here is a simple C program to find the sum of squares of first...

Below are simple C programs for beginners to learn if-else decision construct. Example 1:...

Here is a C program to check for leap year – main () {...

C programming language allows to define and classify data so we can use it...

C language developed at Bell lab by Dennis Ritchie on UNIX environment. UNIX was...

Below is an example Recursive C program to perform Binary – int binsearch(int low,...

Below is an example recursive C program to return Fibonacci series for a given...

Here is a C program to find a factorial by recursive method – int...

Simple bubble sort in C – for (i=0; i<n-1; i++){ for(j=i+1; j<n; j++){ if(x[j]...

Below is an example to represent a Tree structure in C using struct

Below is a simple C program to perform file operation – include <stdlib.h> main()...

Writing C programs for numerical differentiation is interesting and fun. Here is one that...

Gregory Newton Backward Interpolation Method can be used to derive difference formula when the...

Below is a C program to evaluate forward difference and thus print a forward difference...

Below is an amazing solution to prove that when n=2, Lagranges interpolation formula reduces to...

One of the fastest growth rates in the telecommunications industry anywhere in the world...

Olden form of phone systems involved manual exchanges which involved a great task in...

It’s helpful for data communication and IT students to understand the evolution of Data...

Data Communications is the function of transferring a digital signal from one digital device...

Below is sample C program to convert a postfix string to prefix form. Also...

Below is sample C program to convert a prefix string to infix form. Also...

Below is an example that I prepared for preorder and postorder traversal of a...

Below is the algorithm and C routine for traversing a Binary Tree in postorder....

A binary tree can be traversed in two basic ways – preorder and postorder....

Binary Tree is a basic data structure that is used behind the scenes of...

Below is the solution to test convergence of a sample Logarithmic series –