Home2023August

August 2023

Showing 1 - 20 of 89 results

Python Program to Remove Duplicates from a List

This Python program removes duplicates from a list by converting the list to a set, which automatically removes duplicate elements,...

Python Program to Reverse a Stack using Recursion

In this Python program, we will reverse a stack using recursion. A stack is a data structure that follows the...

Python Program to Implement Circular Doubly Linked List

A circular doubly linked list is an advanced version of a linked list where each node contains pointers to both...

Python Program to Find the Cumulative Sum of a List

Pythonâ€™s versatility shines when it comes to solving various programming challenges. In this example, weâ€™ll create a Python program to...

Python Program to Implement Dequeue

This Python program implements a deque (double-ended queue) using a list. A deque allows elements to be added or removed...

Python Program to Segregate Even and Odd Nodes in a Linked List

In this Python program, weâ€™ll create a linked list and segregate its nodes into two separate lists â€“ one for...

Python Program to Find Middle Element of a Linked List

This Python program finds the middle element of a singly linked list using the two-pointer technique. The middle element is...

Python Program to Find the Total Sum of a Nested List Using Recursion

Pythonâ€™s recursion allows us to solve complex problems by breaking them down into simpler subproblems. In this illustration, weâ€™ll delve...

Python Program to Solve Josephus Problem using Linked List

This Python program solves the Josephus Problem using a circular linked list. The Josephus Problem is a theoretical problem related...

Python Program to Create and Display Linked List

Linked lists are fundamental data structures in computer science, offering a dynamic way to organize and manage data. In this...

Python Program to Find the Larger String without Using Built-in Functions

String comparison is a fundamental operation in programming. This program showcases how to create a Python program to find the...

Python Program to Find All Odd Palindrome Numbers in a Range without using Recursion

Odd palindrome numbers are numbers that remain the same when read from left to right and from right to left....

Python Program to Extract Numbers from Text File

Text files often contain a mix of characters, numbers, and symbols. This program demonstrates how to create a Python program...

Python Program to Count the Number of Blank Spaces in a Text File

Text files often contain various characters, including blank spaces. This python program demonstrates how to create a Python program that...

Python Program to Append the Content of One File to the End of Another File

Text files often contain various characters, including blank spaces. This python program demonstrates how to create a Python program that...

C Program to Find Volume and Surface Area of Sphere

This C program calculates the volume and surface area of a sphere using its radius. A sphere is a three-dimensional...

Python Program to Find Prime Numbers in a Given Range

This Python program will help you find all the prime numbers within a given range. A prime number is a...

Python Program to Validate a Date

This python program will validate whether a given date is valid or not, based on the input provided by the...

Python Program to Print Binary Equivalent of an Integer using Recursion

In this python program, we will write a recursive Python function to print the binary equivalent of an integer. Recursion...