Posts by Meetali Tomer

Author Biographical Info: Not available

#### Sort elements by frequency C++ program

By Meetali Tomer

In this tutorial, we will learn to sort elements of an array in decreasing order based on the frequency of elements in C++ programming. If the frequency of any two elements is the .... Read More

#### Find the first repeated character in a string in Python

By Meetali Tomer

In this tutorial, we are going to learn how to find the first repeated character in Python. Problem Statement Given a string, we need to find the first repeated character in the st.... Read More

#### Calculate seed of a number in Python

By Meetali Tomer

In this tutorial, we will learn how to find the seed of a number in Python. Definition of seed A number x is said to be the seed of a number n if : x *  product of digits of x is .... Read More

#### Integral roots of a cubic equation in C++

By Meetali Tomer

In this tutorial, we will learn how to find the integral roots of a cubic equation in C++. Cubic equation Cubic equation is of the form—  ax3 + bx2 + cx + d = 0. a , b , c ,.... Read More

#### Non-overlapping sum of two sets in Python

By Meetali Tomer

In this tutorial, we will learn how to find the non-overlapping sum of two sets in Python. Problem Statement– We are given two sets, we have to find the sum of all elements w.... Read More

#### Josephus problem and recursive solution in Python

By Meetali Tomer

In this tutorial, we will learn how to solve the Josephus problem recursively in Python. Josephus Problem In Josephus problem, n people are standing in a circle waiting to be execu.... Read More

#### How to use PAIRS within a SET in C++

By Meetali Tomer

In this tutorial, we will learn briefly about pairs and sets in C++ and then how to use pairs within a set. PAIRS IN C++ A pair in C++ is a container that stores two values which .... Read More

#### Complex Number Multiplication in C++

By Meetali Tomer

In this tutorial, we will learn complex number multiplication in C++. Complex Numbers Complex numbers are a combination of a (real part)  and b ( imaginary part ) written in the f.... Read More