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

# Month: March 2020

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 () {...