Recursion

Easy Adjacency Matrix Representation of Graph

Adjacency Matrix Code Adjacency matrix code using C is a way to represent a graph as a 2D array. The array is of size V x V, where V is the number of vertices in the graph. If there is an edge from vertex i to vertex j, then the entry adj[i][j] is set to …

Easy Adjacency Matrix Representation of Graph Read More »

Easy AVL Tree Explanation

AVL Tree Introduction to AVL Tree : AVL trees are a self-balancing binary search tree data structure that helps maintain the height balance of the tree. They were named after their inventors, Adelson-Velsky and Landis, and are particularly useful for optimising search, insertion, and deletion operations. In this guide, we\’ll explore AVL trees, provide an …

Easy AVL Tree Explanation Read More »

Easy Binary Tree Creation using Stack code

Binary Tree Creation using Stack code This code is for Binary tree creation using stack. In this code first created node will be treated as root node. After that another function insert() will be called for adding the child nodes. Every time one node created and sent to stack for keeping track of that node. …

Easy Binary Tree Creation using Stack code Read More »

Easy Doubly Linked List Code

Doubly Linked List Code This code is designed to implement Doubly Linked List concept. In this code almost all the possible operations are implemented using separate functions. Each function is designed to implement one accessibility technique of doubly linked list  during insertion or deletion. Here we have designed two display functions for two different way …

Easy Doubly Linked List Code Read More »

Easy Code for Checking Parenthesis

Code for checking Braces placed properly or not This code is designed for checking braces in an equation. In this code you have to pass an equation in string (character array) format, the code will check whether you have completed or closed braces in proper place or with proper pair. This is the easiest way …

Easy Code for Checking Parenthesis Read More »

How to write a code for creating, accessing structure member

Structure related program for C Language Code for accessing structure and creating a marksheet like project. This code is for creating and accessing structure with an example using C Language. This is the best and easy code for learning Structure and it\’s use. Here each and every functions are used using most simple logic and …

How to write a code for creating, accessing structure member Read More »

Best Decimal to Binary conversion solution in 2023

Code for Decimal to Binary conversion For learning c code, students are advised to practice few basic codes, Decimal to Binary conversion is one of them. In C code practice, this program logic plays a very important role. So I have designed this code as easy as possible for the students. They will be able …

Best Decimal to Binary conversion solution in 2023 Read More »

Best Binary to Decimal conversion solution in 2023

Code for Binary to Decimal conversion For learning c code, students are advised to practice few basic codes, Binary to Decimal conversion is one of them. In C code practice, this program logic plays a very important role. So I have designed this code as easy as possible for the students. They will be able …

Best Binary to Decimal conversion solution in 2023 Read More »

Best Diamond of Alphabets Pattern print solution in 2023

Code for printing Diamond of Alphabets For learning c code, students are advised to practice few basic codes, Printing Diamond of Alphabets is one of them. In C code practice, this program logic plays a very important role. So I have designed this code as easy as possible for the students. They will be able …

Best Diamond of Alphabets Pattern print solution in 2023 Read More »

Best \”Diamond of Alphabets with space\” printing solution in 2023

Code for printing Diamond of Alphabets with space For learning c code, students are advised to practice few basic codes, Printing Diamond of Alphabets with space is one of them. In C code practice, this program logic plays a very important role. So I have designed this code as easy as possible for the students. …

Best \”Diamond of Alphabets with space\” printing solution in 2023 Read More »