HomeAuthor: SandhyaPage 2

Sandhya

Showing 21 - 40 of 54 results
This Python program implements Bucket Sort, a sorting algorithm that divides the input data into buckets and then sorts each...
This Python program counts the number of non-leaf nodes in a given tree data structure. A tree is a hierarchical...
In this Python program, we will reverse a linked list without using recursion. Weโ€™ll implement a non-recursive approach to reverse...
In this Python program, weโ€™ll be implementing a stack using two queues. The stack data structure follows the Last-In-First-Out (LIFO)...
This Python program sorts a list of elements based on their lengths in ascending order. It demonstrates how to use...
This Python program checks if an undirected graph is bipartite using BFS and a color-coding approach. A bipartite graph can...
In this Python program, we will use Breadth-First Search (BFS) to find all reachable nodes in a graph starting from...
This Python program implements Breadth-First Search (BFS) on a graph using a queue. BFS is used to traverse or search...
This Python program utilizes Depth-First Search (DFS) to find all reachable nodes in a given graph. DFS is a graph...
This Python program demonstrates the implementation of binary search using recursion. Binary search is an efficient algorithm to find a...
In this Python program, we will reverse a stack using recursion. A stack is a data structure that follows the...
This Python program implements a deque (double-ended queue) using a list. A deque allows elements to be added or removed...
In this Python program, weโ€™ll create a linked list and segregate its nodes into two separate lists โ€“ one for...
This Python program solves the Josephus Problem using a circular linked list. The Josephus Problem is a theoretical problem related...
In this Python program, we will implement a recursive function to reverse a string. Recursion is a technique where a...
In this Python program, we will convert Gray codes to binary codes. Gray code is a binary numeral system where...
In this Python program, we will generate Gray codes using recursion. Gray code is a binary numeral system where two...
In this Python program, we will convert a binary number to its corresponding Gray code. The Gray code is a...
In C programming, a union is a user-defined data type that allows storing different data types in the same memory...
This C program converts decimal numbers to Roman numerals using a function called convertToRoman. It takes user input, checks if...

Categories

Archives