HomeAuthor: VishaliniPage 6

Vishalini

Showing 101 - 110 of 110 results
This Python program counts the occurrences of a specified word in a text file Problem Statement You are tasked with...
Flattening a nested list means converting a list that contains other lists (and potentially more nested lists) into a single-level...
This C program demonstrates the binary search algorithm using recursion. Binary search is an efficient algorithm for finding a specific...
This C program finds the next lower power of 2 for a given integer using bitwise operations. Problem statement Given...
This C program removes all repeated words in a given string. It prompts the user to enter a string, processes...
This C# program calculates and displays the largest prime factor of a given positive integer. A prime factor is a...
A perfect number is a positive integer that is equal to the sum of its proper divisors, excluding itself. For...
ASCII (American Standard Code for Information Interchange) is a character encoding standard that represents characters using numeric codes. Each character...
Appending data to a file is a common operation in programming, especially when you want to store data for later...
This C program checks whether a given string is a palindrome or not without using any built-in string reversal function....