Posts from C++

C++ Program to check if a number is Multiply Perfect Number

By Ranjeet V

In this post, we will implement a C++ program to check if a number is Multiply Perfect Number. What’s a Multiply Perfect Number? First, let us understand what is a Multiply-P.... Read More

How to convert string to char array in C++

By Ranjeet V

In this tutorial, we will learn how to convert a string into a character array in C++. There are multiple ways to convert a string to a char array in C++. Let’s discuss some .... Read More

beta(), betaf() and betal() functions in C++ STL

By Ranjeet V

Hello everyone, in this tutorial, we will learn about beta(), betaf() and betal() function in C++ STL. All these functions are defined in <cmath> header. These are built-in C.... Read More

C++ program to find the median array for Binary tree

By Abinash Reddy

In this article, we will learn how to find the median array for a Binary tree in C++. A median array is an array that formed with help of Inorder, Preorder, Postorder traversal of .... Read More

Long jumps – Dp problem in C++

By Deepanshu

Now we will be going to solve a dynamic programming problem Long jumps in C++. Problem description A person is currently standing on point 0 in the 1-D array and jumps to reach poi.... Read More

C++ STL’s unordered_multiset And Its Applications

By Anurag Tiwari

In this tutorial, we shall learn about C++ STL’s unordered_multiset and its applications. For understanding this you must know unordered_set which you can read it here unorde.... Read More

All Permutations Of An Array In C++

By Anurag Tiwari

In this tutorial, we shall learn to compute all permutations of an array in C++. Here we shall be using STL’s next_permutation function. The std::next_permutation is used to .... Read More

Binomial Distribution In C++

By Anurag Tiwari

In this tutorial, we shall learn to compute the integers according to the binomial discrete distribution in C++. So, first, we need to know what is a binomial distribution. The bin.... Read More

Related Posts