Posts from C++

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

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

Convert Roman Number Into Integer using STL in C++

By Rahul Ranjan

Hello Friends, Today we are going to learn how to convert roman number into integer in C++ using STL. This problem you can do also using the stack as well as using STL. I will give.... Read More

Tree Isomorphism Problem in C++

By Ranjeet V

Hello everyone, in this tutorial we will discuss the tree isomorphism problem in C++. Two trees are said to be isomorphic if one of the trees can be obtained by flipping left and r.... Read More

atol(), atoll() and atof() functions in C++

By Vishal Patil

Hello everyone, in this tutorial, we will learn about the atol() , atoll() and atof() functions available in C++. atol() function atol() function is used to convert string value in.... Read More

Convert a Vector to Set in C++

By Sonal Bera

In this tutorial, we try to convert a vector of elements into a set of elements in C++. Vectors in C++ are not new but are in fact containers similar to arrays that can expand or s.... Read More