## Queue implementation using linked list

A queue is an linear data structure that serves as a collection of elements, with three main operations: enqueue, dequeue and peek. We have discussed about these operations in previous post and covered array implementation of queue data structure. In this post, linked list implementation of queue is discussed.

## Check if an array represents min heap or not

Given an array of integers, check if it represents min heap or not.

## Heap Sort Algorithm – Overview & C, C++ and Java Implementation

Given an array of integers, sort it using heap sort algorithm in C, C++ and Java.

## Circular Queue implementation in C

A queue is a linear data structure that serves as a collection of elements, with three main operations:

## Print Right-angled Triangle Star Pattern in C and Java

Write a C and Java program to print Right-angled Triangle pattern formed by star(*) character.

## Dynamically Allocate Memory for 2D Array

In this post, we will discuss various methods to dynamically allocate memory for 2D array in C using Single Pointer, Array of Pointers and Double Pointer.

## Print triangle patterns of stars in C and Java

Write a C and Java program to print triangle patterns of stars.

## Convert String to different wrapper types and primitive data types in Java

In this post, we will see how to convert String in Java to different wrapper types and primitive data types supported by Java.

## Search exceptions in huge log file | grep utility & Java program

This post discusses about grep utility and provides java code to search exceptions in a huge log file on windows server.

## Extended Euclidean algorithm Implementation in C, C++ and Python

The extended Euclidean algorithm is an extension to the Euclidean algorithm, which computes, besides the greatest common divisor of integers a and b, the coefficients of Bézout’s identity, that is integers x and y such that ax + by = gcd(a,b)

## Program to find generators of cyclic group

Write a C/C++ program to find generators of cyclic group.   A cyclic group is a group that is generated by a single element. That means that there exists an element g, say, such that every other element of the group can be written as a power of g. This element g is the generator …

## Chinese Remainder Theorem

Write a C/C++ program to solve given simultaneous pairs of Linear Congruence Equations using Chinese remainder theorem.