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

Using JavaScript Sort in Different Ways

By Vikneshwar GK

JavaScript Array.prototype.sort() is a method to sort the elements of an array in place and return the sorted array. It basically converts all the elements into strings then sort b.... 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

Python Program to find smallest missing prime number in an array

By Abinash Reddy

Given an array containing n distinct numbers. We will learn how to find the smallest missing prime number in the given array in Python. Example Input: arr[] = {2, 3, 9, 10, 5, 6} O.... Read More

Taking a number and rearranging its digits in ascending order to form a new number in Python

By Souhardya Ganguly

In this Python tutorial, we will learn how to take a number and rearrange its digits in ascending order to form a new number. We shall be sorting the number using the sort() functi.... 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

Find a number repeating and missing in an array in Python


In this post, we will find the number repeating and the number missing in an array in Python programming. You may encounter this problem in coding contests or competitive programmi.... Read More