PSYCHOCODES

PsychoCodes.in

C program to Implement Stack using Linked List

A stack is a linear data structure and follows the last in first out rule, in this tutorial, we will learn how to implement stack using Linked List in C programming language.

Read more

Binary Search Program in C using Recursion

Binary Search is a type of searching algorithm which works on a sorted array. It finds the target value(T) by comparing the target value(T) with the middle element of the array.

Read more

Find smallest and largest element in an array-C program

Arrays are easy just add square brackets and you get an array. At Least easier than array using linked lists anyways, In this tutorial we will learn how to find out the largest and smallest element of an array by making a C program.

Read more

Size of an array using Recursion in C

Most of us have done a lot of C programs using recursion and Recursion is the only thing in programming which gives me nightmares but anyways today we will see another C program which we can make using recursion.

Read more

Priority Queue Using Linked List in C

A priority queue can be thought of as a modified queue in which when an element has to be removed from the queue, the one with the highest priority is retrieved first. The priority of the element can be set based on various factors.

Read more

Constructing a Binary Tree from Traversal Results

We can construct a binary tree if we are given at least two traversal results. The first traversal must be the in-order traversal and the second can be either pre-order or post-order traversal.

Read more

C program to Convert Decimal number into Binary using Stack

A stack is a linear data structure and follows the last in first out rule, in this tutorial, we will learn how to convert a decimal number into binary using stack.

Read more