## How to Insert an element at a specific position in an Array in C++

An array is a collection of items stored at contiguous memory locations. In this article, we will see how to insert an element in an… Read More »

## Remove duplicate elements in an Array using STL in C++

Given an array, the task is to remove the duplicate elements from the array using STL in C++ Examples: Input: arr[] = {2, 2, 2,… Read More »

## Remove duplicates from an unsorted array using STL in C++

Given an unsorted array, the task is to remove the duplicate elements from the array using STL in C++ Examples: Input: arr[] = {1, 2,… Read More »

## Remove duplicates from a sorted array using STL in C++

Given a sorted array, the task is to remove the duplicate elements from the array using STL in C++ Examples: Input: arr[] = {2, 2,… Read More »

## Count the number of 1’s and 0’s in a binary array using STL in C++ ?

Given a binary array, the task is to count the number of 1’s and 0’s in this array using STL in C++. Examples: Input: arr[]… Read More »

## Find elements of an Array which are Odd and Even using STL in C++

Given an array, the task is to find elements which are odd and even, using STL in C++ Examples: Input: a[] = {1, 2, 3,… Read More »

## Find elements of an array which are divisible by N using STL in C++

Given an array and an integer N, find elements which are divisible by N, using STL in C++ Examples: Input: a[] = {1, 2, 3,… Read More »

## All reverse permutations of an array using STL in C++

Given an array, the task is to print or display all the reverse permutations of this array using STL in C++. Reverse permutation means, for… Read More »

## All permutations of an array using STL in C++

Given an array, the task is to print or display all the permutations of this array using STL in C++. Examples: Input: a[] = {1,… Read More »

## How to find the minimum and maximum element of an Array using STL in C++?

Given an array arr[], find the minimum and maximum element of this array using STL in C++. Example: Input: arr[] = {1, 45, 54, 71,… Read More »

## How to find the sum of elements of an Array using STL in C++?

Given an array arr[], find the sum of the elements of this array using STL in C++. Example: Input: arr[] = {1, 45, 54, 71,… Read More »

## How to join two Arrays using STL in C++?

Given two arrays, join these two arrays using STL in C++. Example: Input: arr1[] = {1, 45, 54, 71, 76, 12}, arr2[] = {1, 7,… Read More »

## Program to check if an Array is Palindrome or not using STL in C++

Given an array, the task is to determine whether an array is a palindrome or not, using STL in C++. Examples: Input: arr[] = {3,… Read More »

## How to reverse an Array using STL in C++?

Given an array arr[], reverse this array using STL in C++. Example: Input: arr[] = {1, 45, 54, 71, 76, 12} Output: {12, 76, 71,… Read More »

## How to sort an Array in descending order using STL in C++?

Given an array arr[], sort this array in descending order using STL in C++. Example: Input: arr[] = {1, 45, 54, 71, 76, 12} Output:… Read More »