C++ STL

Bitset

Hi everyone In this tutorial we will talk about Bitset So, What is Bitset actually? Bitset is a container of C++ STL that stores a fixed-size sequence of bits — just 0s and 1s. Think of it as an array of bools, but far more compact and with a whole toolbox of bit-level operations built […]

Bitset Read More »

Multiset

Hi everyone In this tutorial we will talk about Multiset So, What is Multiset actually? Multiset is an associative container of C++ STL that stores elements in sorted order, just like set. Each element is a key — there are no associated values (that is the job of map and multimap). The one big difference

Multiset Read More »

Set

Hi everyone In this tutorial we will talk about Set So, What is Set actually? Set is an associative container of C++ STL that stores only unique elements. Each element inside a set is a key — there are no associated values (that is the job of map). The elements are always kept sorted in

Set Read More »

Array

Hi everyone In this tutorial we will talk about Array So, What is Array actually? Array is a sequential container of C++ STL that wraps a fixed-size contiguous array. The size of an array is decided at compile time and cannot be changed once the array is declared. We all know the classic C-style array

Array Read More »