Skip to content

Tag Archives: STL

Prerequisites: Random-access Iterators, Bidirectional Iterators Sets are a type of associative container in which each element has to be unique because the value of the… Read More
What is deque? In C++, a deque is a sequence container and it is also known by the name, double-ended queue. As the name implies,… Read More
What is a multimap? In C++, a multimap is an associative container that is used to store elements in a mapped fashion. Internally, a multimap… Read More
What is a multimap? In C++, a multimap is an associative container that is used to store elements in a mapped fashion. Internally, a multimap… Read More
What is an array? An array in any programming language is a data structure that is used to store elements or data items of similar… Read More
What is an array? An array in any programming language is a data structure that is used to store elements or data items of similar… Read More
What is an array? An array in any programming language is a data structure that is used to store elements or data items of similar… Read More
A 2D vector also known as vector of vectors is a vector in which each element is a vector on its own. In other words,… Read More
What is Vector? In C++, a vector is similar to dynamic arrays with the ability to resize itself automatically. Vector elements are stored in contiguous… Read More
Given an unsorted vector arr, the task is to create a balanced binary search tree using the elements of the array. Note: There can be… Read More
What is a tuple? A tuple in C++ is an object that has the ability to group a number of elements. The elements can be… Read More
What is pair? Utility header in C++ provides us pair container. A pair consists of two data elements or objects.  The first element is referenced… Read More
What is Forward List? Forward list in STL is used to implement a singly linked list. It was introduced from C++11 onwards, forward lists are… Read More
What is Multiset? A multiset is an associative container that can hold a number of elements in a specific order. Unlike a set, a multiset… Read More
What is Multiset? A multiset in C++ is an associative container that can hold a number of elements in a specific order. Unlike a set,… Read More

Start Your Coding Journey Now!