Posts by Srirama Charan

Author Biographical Info: Not available

Smallest Immediate Palindrome Problem in C++

By Srirama Charan

Today, we will see a very interesting problem usually referred to as the next palindrome problem. The problem states that, given a positive integer, we need to find the smallest pa.... Read More

Two sets program in C++

By Srirama Charan

Today, we will see a basic problem in C++ and try to find an efficient algorithm for it. The problem goes like this. We are given an integer n and we have to divide the numbers 1,2.... Read More

Find Prime Numbers in a Range in C++ (Segmented Sieve Method)

By Srirama Charan

Today, we will see two methods to find the prime numbers in a given range in C++ programming. The problem statement goes like this, we take the lower limit and upper limit for a ra.... Read More

A C++ program for Unrolled List

By Srirama Charan

In this tutorial, we will see how to implement an Unrolled Linked List in C++. Unrolled Linked List is a variation of the normal Linked List where more than one element is stored a.... Read More