Linchpin in motion.
Currently exploring:
- → LLMs
- → DevOps
- → Systems
DS - Stack

A stack is a fundamental data structure in computer science that operates on a Last In, First Out (LIFO) principle. This means that the last element added to the stack is the first one to be removed. …
Circular Queue

A circular queue is a data structure that operates on a First-In, First-Out (FIFO) basis but with a circular arrangement. Unlike a linear queue, where elements are added at the rear and removed from …
DS - Simple Queue

A simple queue is a fundamental data structure that follows the First-In, First-Out (FIFO) principle. This means that the first element added to the queue will be the first one to be removed, just …
Arrays in C Language

An array is a data structure used in programming to store a collection of elements, typically of the same type, in a fixed-size sequence. Initialisation of Array 1#include <stdio.h> 2int main() …
Basics of C-language

C is a powerful, general-purpose programming language that provides control over system resources and efficient execution. This post will cover some essential concepts in C that every programmer …
Important Questions of C-language

To find average of two numbers. 1#include <stdio.h> 2int main() 3{ 4 float a; 5 float b; 6 printf("give the values for a and b:\n"); 7 scanf("%f%f", &a,&b); 8 float …
Loops in C-language

Loops in C language are used to repeatedly execute a block of code based on certain conditions. They are fundamental for tasks such as iterating over arrays, processing data, and performing repetitive …
Matrices in C-language

Matrices: Matrix Multiplication 1#include<stdio.h> 2int main() 3{ int m,n,p,q,a[10][10],b[10][10],c[10][10],k,i,j; 4 printf("enter the rows and column value for matrix 1:\n"); 5 …
Pointers in C-language

Pointers Basics 1#include<stdio.h> 2int main() 3{ 4 int a=10; 5 printf("Address of P: %p \n", *a); 6 7 int *p; 8 9 p=&a; 10 11 *p = 30; 12 13 printf("Address of P: %p \n", …
Searching in C-language

Searching in C language refers to the process of finding a specific element or value within a data structure, typically an array. Searching algorithms help determine whether an element exists in the …