# C++ Course

## SET IN C++

INTRODUCTION SET IN C++ In this tutorial, we are going to learn about the set container in C++ standard template library. The set is an associative container in which elements should be unique, that is set container doesn’t accept multiple values to store in it. In the set container, values are stored in some specific order, either …

## next permutation in c++

next permutation in c++ INTRODUCTION In this tutorial, we are going to earn about next_permutation in C++. this is a keyword in C++ which is used to list all the permutations of the given array elements in ascending order. This keyword is used to return all the possible permutations of the given set of numbers in the …

## prev permutation in c++

INTRODUCTION In this tutorial, we are going to earn about prev_permutation in C++. this is a keyword in C++ which is used to list all the permutations of the given array elements in descending order. This keyword is used to return all the possible permutations of the given set of numbers in the descending order of their value. …

## Sort Function in Cpp in Particular Order

Sort Function in Cpp in Particular Order In this article, you will be learning about the sort function which can be used to sort data in any given range like arrays or vectors. The sort function generally takes two parameters, the first parameter is the pointer pointing to the start of the range or the …

## sort() Function in Cpp

INTRODUCTION In this tutorial, we are going to learn about the sort() method in C++ and its applications. The STL in C++ provides the sort() function which is used to sort the array or vector elements. Generally, the sort() function in C++ takes two parameters, the starting index, and the ending index. Starting index resembles …

## C++ STL List￼

Introduction C++ STL List In this article, you will learn about the list container of STL (Standard Template Library) of C++ with some useful examples that would help you better understand the concepts and their usage. Lists are a type of sequential container that allows non-contiguous memory allocation. If we compare the list to a …

## C++ Priority Queue

Introduction In this article, you will be learning about the priority queue another data structure in STL. Similar to the stack and queues, priority queues are also a type of container adaptors, designed in a way that the first element of the queue is either the greatest or the smallest of all elements in the …

## QUEUE IN C++ STL

In this article, you will learn about the C++ queue and its methods with some useful example programs which would help you understand the concept better. QUEUE IN C++ STL Queues are a type of container adaptors that operate in a first in first out (FIFO) type of arrangement. In a queue, the elements are inserted …

## QUEUE IN C++ STL

Introduction: In this article, we are going to learn about the queue in C++ STL  and its operations in a detailed way with examples. Queue follows the FIFO (First In First Out) principle where elements that are added first will be removed first. Queue: The queue in the STL of C++ is a dynamically resizing …

## Stacks in Cpp

Introduction In the previous article, we looked into Stacks in Cpp and their implementation. In this article, we will be looking at some of the in-built functions of stacks and accessing elements in a stack. Accessing Elements to the stack We access the elements of a stack using the method top(). For example, Output In …