HomeAuthor: VishaliniPage 4

Vishalini

Showing 61 - 80 of 110 results
This Python program finds the middle element of a singly linked list using the two-pointer technique. The middle element is...
This Python program swaps adjacent nodes in a circular linked list. A circular linked list is a linked list where...
This Python program replaces all occurrences of the character โ€˜aโ€™ with โ€˜$โ€™ in a given string. Problem Statement Write a...
A perfect number is a positive integer that is equal to the sum of its proper divisors, excluding itself. For...
This Python program calculates the sum of the first N natural numbers. It defines a function called calculat_sum that takes...
This Python program checks if a number is a strong number or not. A strong number (also known as a...
The provided Python program is designed to find the prime factors of a given number. It utilizes a function called...
This Python program checks if two numbers are amicable numbers or not. Amicable numbers are pairs of numbers where the...
This C program allows you to find the length of a linked list, which is the number of nodes present...
This C program converts a decimal number into its hexadecimal representation. Hexadecimal (or hex) is a base-16 numbering system that...
This C program demonstrates how to reverse a stack using recursion. A stack is a linear data structure that follows...
This C program calculates and compares the perimeters of three different geometric shapes: a circle, a rectangle, and a triangle....
This C program illustrates the computation of the height of a binary tree using a recursive algorithm. In computer science,...
This C program demonstrates the binary search algorithm using recursion. Binary search is an efficient algorithm for finding a specific...
This C program demonstrates addition using bitwise operators. Bitwise operators are efficient for performing arithmetic operations at the binary level....
This C program converts a binary number to its corresponding Gray code using recursion. Binary Code: Binary code is a...
This C program evaluates a polynomial equation for a given value of x. Problem Statement Write a C program to...
This C program calculates the sum of the first N natural numbers using recursion. Problem Statement The program should perform...
This C program calculates the length of a given string. Problem Statement Write a program that calculates the average of...
This C program converts an octal number to its equivalent decimal representation. Octal is a base-8 number system that uses...

Categories

Archives