HomeAuthor: Vishalini

Vishalini

Showing 1 - 20 of 110 results
This C program finds the Greatest Common Divisor (GCD) of two given numbers. Problem Statement Write a C program that...
Merge Sort is a popular sorting algorithm that follows the divide-and-conquer paradigm to efficiently sort an array or list of...
Finding the Nth node from the end of a linked list is a common problem in computer science and programming...
This C program allows you to find the length of a linked list, which is the number of nodes present...
Finding the union of two lists is a common operation in programming, particularly when dealing with data manipulation and set...
This C program finds the first and last occurrence of a target character in a given string and displays their...
Counting Sort is a non-comparative sorting algorithm that works particularly well when the range of input values is known and...
In this implementation, each node of the binary tree is represented using an object, and these objects are linked together...
Shell Sort, also known as Shellโ€™s method, is an efficient in-place comparison-based sorting algorithm thatโ€™s an extension of the Insertion...
In Python, a dictionary is a powerful data structure that allows you to store and manage data in key-value pairs....
This C program converts a binary number to its corresponding Gray code using iterative methods. Gray code, also known as...
This Python program implements a ternary heap, which is a type of min-heap where each parent node has up to...
This Python program implements a D-ary heap, which is a generalization of the binary heap where each parent node has...
In this post, you will learn about the C program that takes two strings as input and determines whether they...
This C program demonstrates addition using bitwise operators. Bitwise operators are efficient for performing arithmetic operations at the binary level....
This C program finds the largest and smallest possible words, which are palindromes, from a given input sentence. Problem Statement...
This C# program is designed to determine whether a given number is an Armstrong number or no Problem Statement An...
This C# program demonstrates the creation of a simple stopwatch using the Stopwatch class from the System.Diagnostics namespace. Stopwatch is...
This C program calculates the length of a given string. Problem Statement Write a program that calculates the average of...
This C# program demonstrates how to calculate the transpose of a matrix. The transpose of a matrix is a new...