# C Programming Code Examples

## C > Linked Lists Code Examples

### Construct a Balanced Binary Search Tree which has same data members as the given Doubly Linked List

Program Code Converts Decimal to Binary -
How to convert from decimal number system to binary number system in C programming. C program to convert from Decimal to Binary number system. Input decimal number from

Program Sort Text data by rhyming order -
Create a new node. First, we handle the case where 'data' should be the first element. Apperently this !IS! the first element. Now data should [be|becomes] the first element.

C++ Program Sample Implements Vector -
'Insert element' into the vector. Deleting last element of the vector. Size of the vector and Display by index. "Dislplay by iterator". Clear the vector. Enter value to be inserted. Display

Binary Search Algorithm & Specific Search -
C++ Program to find a search sequence using Binary search. Implement the "binary search" to find the first value of search sequence. It is there, compare remaining item 'Sequentially'

C coding Basic binary search tree routines -
Insert, swap, search value, search minimum and search maximum values. Destroy, count tree nodes. Insert a tnode into the binary tree. Traverse the tree to get a pointer to the

The C++ Shortest path program using STL -
Process a request; return false if end of file. A simple main that reads a file given by argv[1] and then calls "processRequest" to compute shortest paths. Then 'Skimpy' error checking

Built-in Function in the C++ Programming -
"Built-in Functions" are also known as library functions. We need not to declare and define these functions as they are already written in the C++ libraries such as iostream, cmath etc.

Program Finds Sum of First and Last Digit -
C Language Program to input a number and find sum of first and last digit of the number using for loop. Input a number. Find last digit. Find total number of digits - 1. Find first digit.