Posts from C++

C++ program to check whether two strings have same character or not

By Rahul Ranjan

Hello Friends, Today we are going to learn how to check whether two strings have the same character or not, the order of characters can be different. First, we will see understand .... Read More

Partitioning Algorithms in C++

By Prayas Sambhare

Hello! Today we are going to study partitioning algorithms in C++. This algorithm is an essential part of the quick sort algorithm. Hence to learn the quick sort algorithm it is ne.... Read More

Matrix Exponentiation in C++

By Vikash Agarwal

In this tutorial, we will learn about Matrix Exponentiation and apply it to solve linear recurrences in one variable with C++. Given a linear recurrence relation in one variable al.... Read More

Weighted Program Scheduling Problem in C++

By Vikash Agarwal

In this tutorial, we will learn about the Weighted Program Scheduling Problem in C++ programming. We will limit our discussion to scheduling programs in a single-core processor. Gi.... Read More

Longest Unique Substring using Sliding Window in C++

By Vikash Agarwal

In this tutorial, we will learn about the concept of Sliding Window and apply it to solve the Longest Unique Substring problem. Given a string, the task is to find the longest uniq.... Read More

Reverse a linked list using STL stack in C++

By Anurag Tiwari

In this tutorial, we will learn how to reverse a linked list using stack in STL in C++. Reversing of linked list can be done by many methods but using stacks is the easiest of all..... Read More

How to write your own atoi function in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to write atoi function in C++. First, understand about atoi function then we will see an example and then we will see the implementat.... Read More

Converting integer to roman numeral in C++

By Prayas Sambhare

In this tutorial, we are going to learn about converting an integer into its corresponding roman numeral. We will use C++ for this task. Roman numerals are something which we are f.... Read More