Posts by Srirama Charan
Author Biographical Info: Not available
Today we will see a rather interesting problem called the Chinese remainder problem and try to understand the theory behind it. The Chinese Remainder theorem was first introduced b.... Read More
The two knights problem is a general mathematical challenge, where we have to find the total number of ways to place two knights on an nxn chessboard such that they do not attack e.... Read More
Today, we will see how to find the lexicographic rank of a string in C++. The lexicographic rank of a string means the rank of the given string in a list of permutations of the giv.... Read More
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
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
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
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