Determining if Two Trees are Identical – C Programming Tutorial

In this c programming tutorial we are going to see how we can compare two trees to check whether they are identical or not. Two trees are identical when they have same data and arrangement of data is also same. To identify if two trees are identical, we need to traverse both trees simultaneously, and […]

Implementing Vector – C Programming Tutorial

In this c programming tutorial we are going to see code for implementing vector in c language or creating array of size N (Any size array) in language. So let’s proceed, in this c programming tutorial we’re just going to create a dynamically sized array of integers. Here’s what the definition of a vector interface […]

Run C program on Android Device – C Programming Tutorial

In this c programming tutorial we are going to see How To run C programs on your android phone you need “Terminal IDE” android app installed on your phone. Click here to install this app from play store. Once you have installed Terminal IDE, open it and now will see six buttons there on screen, […]

C program for finding Optimal Binary Search Tree

 Output:

Calculating running program time – C Programming Tutorial

In this c programming tutorial we are going to see how we can calculate actual running time for any c program or algorithm implementation. Below is the code calculates running time for sorting 9999 elements using bubble sort. Note that on every machine you may get different timings.

 Output:

Least Common Sequence program in C

 Output:

C program for Matrix chain multiplication

 Output :

Doubly linked list operations in C language.