# Sieve of Eratosthenes

Get all prime number for the given number using Sieve of Eratosthenes algorithm For example: Input8 Output2, 3, 5, 7 Solution: Continue reading Sieve of Eratosthenes

# Prime factors of integer

Write a program to get the prime factor of given number. for example: Solution: Continue reading Prime factors of integer

# Given number are Pythagorean Triplet

Three numbers can be said as Pythagorean Triplet when a>b>c and a2 + b2 = c2. Write a program to determine the given numbers set of Pythagorean Triplet Solution: Continue reading Given number are Pythagorean Triplet

# Equilibrium index of an array

Equilibrium index is an index when the sum of elements at lower indexes is equal to the sum of elements at higher indexes. Write a program to find Equilibrium index of an array. For example: Solution: Continue reading Equilibrium index of an array

# Print a rectangular frame around array values

Write a program to accept the list of strings and prints them, one per line, in a rectangular frame. For example: Solution: Continue reading Print a rectangular frame around array values

# Number to integer array

Write a program to accept the number and returns a list of its digits. For example Solution: Continue reading Number to integer array

# Stooge Sort

Write a program to demonstrate stooge sort algorithm. Solution: Continue reading Stooge Sort

# Priority Queue using Heap

Write a programme to demonstrated Priority Queue using Heap Solution: Continue reading Priority Queue using Heap

# Reversing a Queue

Write a program to reversing a queue element Solution: Continue reading Reversing a Queue

# First In First Out(FIFO) Implementation

Write a program to demonstrate First In First Out(FIFO) approach. Solution: Continue reading First In First Out(FIFO) Implementation

# Reverse a word using Stack

Write a program to reverse a word using stack For example Solution Continue reading Reverse a word using Stack

# Implement Stack using Queue

Write a program to demonstrate stack Implementation using Queue. Solution: Continue reading Implement Stack using Queue

# Implement Stack using an Array

Write a program to demonstrate stack Implementation using an Array. Solution: Continue reading Implement Stack using an Array

# Delete element from stack

Write a program to delete an element from a stack. Solution Continue reading Delete element from stack

# Sort stack

Write a program to Sort a stack Solution: Continue reading Sort stack

# Sort a stack using recursion

Write a program to Sort a stack using recursion Solution: Continue reading Sort a stack using recursion

# Reverse Stack Implementation

Write a program to reverse stack. For example Solution Continue reading Reverse Stack Implementation

# Stack Implementation using Linked List

Write a program to demonstrate stack Implementation using Linked List. Solution: Continue reading Stack Implementation using Linked List

# URL from HTML string.

Give a html string get only url from given string For example Solution Continue reading URL from HTML string.

# String Strange Pair

Two strings can be pair if meets blow criteria• The first string’s first letter = second string’s last letter.• The first string’s last letter = second string’s first letter.Write a program to check if two string can be pair For example Solution: Continue reading String Strange Pair

# Compound Interest

Compound interest is the addition of interest to the principal sum of a loan or deposit, or in other words, interest on interest. Write a program to Calculates Compound Interest. Solution: Continue reading Compound Interest

Write a program to convert Hexadecimal Number to Decimal For example Solution: Continue reading Hexadecimal Number to Decimal

# Search in node in binary tree

Write a program to search node in a Binary Tree Solution Continue reading Search in node in binary tree

# Delete Binary Search Tree Node.

Write a program to demonstrate deletion node from Binary Search Tree Solution Continue reading Delete Binary Search Tree Node.

# Convert Binary Tree to Binary Search Tree.

Write a program to convert Binary Tree to Binary Search Tree Solution: Continue reading Convert Binary Tree to Binary Search Tree.