 # C Programming Code Examples

## C > Linked Lists Code Examples

### Convert a Binary Tree into a Singly Linked List by Traversing Level by Level

Generate All Subsets of a Given Set in the - Print all combination of a given length from the given array. Return if the currLen is more than the "required length". If currLen is equal to required length then "Print the sequence".

C Display Nodes of a Linked list in Reverse - C Program uses recursive function & reverses the nodes in a Linked list and displays the list. Linked list is an ordered set of data elements, each 'containing a link' to its successor. This C

C code simple Two Dimensional(2D) Array - Program code demonstrates how to store the elements entered by user in a 2d array and how to display the elements of a 2D array. Two dimensional array in C programming is

Implement The Edmonds-Karp Algorithm - The Edmonds_Karp Algorithm which is used to compute the maximum flow between the 'sink and source vertex'. It is the same as the "Ford - Fulkersson" Algorithm except that it

BoyerMoore & Algorithm String Matching - Whenever the 'character' does not match, we slide the pattern in such a way that aligns the bad character with the last occurrence of it in pattern. We preprocess the pattern and store

C++ Simple Calculator Code for Beginners - Write a simple C++ program which have four different functions for "basic operations" like addition, subtraction, division, multiplication. It should be menu based asking user to enter

C Multiply two Matrices by Passing Matrix - C program asks the user to enter the size of the matrix (rows and column). It asks the user to enter the elements of those matrices and finally adds and displays the result. Perform

Solves Josephus Problem using Linked List - C Language Program to Solves the Josephus Problem using Linked List. Josephus Problem talks about a problem where there are people standing in circle waiting to be executed. The