Program for representing multiple stacks in one array

Multiple Stacks in an array Program for representing multiple stacks in one array /*Implementing multiple stacks in a single array*/ #include <stdio.h> […]

Conversion of a Linked List into Array

Conversion of a Linked List into Array The conversion process involves creation of a linked list.  Then the list is read from […]

Sparse Matrix representation for polynomials

Sparse Matrix representation for polynomials Program to represent two polynomials using Sparse Matrix representation using arrays, compute sum of two polynomials and […]

Program to represent two polynomials using arrays and compute their sum

Sparse Polynomial representation and addition Program to represent two polynomials using arrays and compute their sum /* Representation of Polynomials using arrays […]

Sparse Polynomial representation and addition: Polynomial is an expression which is composed of terms, wherein terms are composed of coefficient and exponent.  […]

Program to represent Sparse Matrix using singly linked list (One dimensional list)

Sparse Matrix representation using singly Linked List: /* Sparse Matrix representation using linked list */ #include <stdio.h> #include <stdlib.h> typedef struct list{ […]

Program to represent Sparse Matrix using arrays

Program to represent Sparse Matrix using arrays: /* Sparse Matrix representation using arrays */ #include <stdio.h> #include <stdlib.h> #define MAX 15 int […]

Sparse Matrix

Sparse Matrix: A matrix that has minimum number of non-zero elements is called a sparse matrix i.e. very few elements are sparsely […]

Array Representation – Column-major & Row-major

Array Representation: Column-major Row-major Arrays may be represented in Row-major form or Column-major form.  In Row-major form, all the elements of the […]

Program to delete a value from a given array such that array remains sorted

Sorted Deletion in an Array: Deletion is same as in previous post with the only difference that if the given array is […]