Tutorials
Courses
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.7K+ articles
DSA
20.2K+ articles
Misc
7.8K+ articles
C++
3.8K+ articles
STL
1.3K+ articles
Linked List
676+ articles
CPP-Functions
619+ articles
cpp-map
287+ articles
cpp-containers-library
93+ articles
cpp-stack-functions
29+ articles
cpp-map-functions
9 posts
Recent Articles
Popular Articles
map erase() Function in C++ STL
Last Updated: 03 February 2025
In C++, std::map::erase() is a built-in function of std::map container that is used to remove elements from the map using their key or iterator. We can also remove multipl...
read more
Misc
C++
STL
CPP-Functions
cpp-map
cpp-map-functions
map insert() in C++ STL
Last Updated: 11 January 2025
The std::map::insert() is a built-in function of C++ STL map container which is used to insert new elements into the map. In this article, we will learn how to use map::in...
read more
Misc
C++
STL
CPP-Functions
cpp-containers-library
cpp-map
cpp-map-functions
map::lower_bound() in C++ STL
Last Updated: 04 November 2024
In C++,std::map::lower_bound()is a built-in method used to find the first element in the map whose key is either equal to or greater than the given key. In this article, w...
read more
Misc
C++
STL
CPP-Functions
cpp-containers-library
cpp-map
cpp-map-functions
map get_allocator in C++ STL
Last Updated: 19 December 2018
map::get_allocator() is a built in function in C++ STL which is used to get allocator of container map. Syntax:Allocator_type get_allocator() Parameters: This function d...
read more
C++
Picked
cpp-map
cpp-map-functions
Implementing Multidimensional Map in C++
Last Updated: 30 April 2020
Multidimensional maps are used when we want to map a value to a combination of keys. The key can be of any data type, including those that are user-defined. Multidimension...
read more
C++
cpp-map-functions
Adding two polynomials using Linked List using map
Last Updated: 26 October 2023
Given two polynomial numbers represented by a linked list. Write a function to perform their algebraic sum. Examples:Input: 1st number = 5x^2 + 4x^1 + 2x^0 2nd number = 5x...
read more
Linked List
DSA
Linked-List-Polynomial
cpp-map-functions
Find distinct characters in distinct substrings of a string
Last Updated: 07 September 2021
Given a string str, the task is to find the count of distinct characters in all the distinct sub-strings of the given string.Examples:Input: str = "ABCA"Output: 18Distinct...
read more
DSA
substring
cpp-strings
cpp-map-functions
Minimum deletions required to make frequency of each letter unique
Last Updated: 02 July 2020
Content removed for this article....
read more
DSA
cpp-map-functions
Important functions of STL Components in C++
Last Updated: 02 November 2023
C++ // C++ code#include iostream#include utilityusing namespace std;int main(){ // Declaring the PAIR1 of int and char // IF pair is not initialized then ...
read more
Stack
Queue
Competitive Programming
C++ Programs
Data Structures
Articles
C++
DSA
STL
cpp-vector
cpp-unordered_map
cpp-queue
cpp-map
cpp-set
cpp-stack
cpp-list
cpp-priority-queue
cpp-unordered_map-functions
cpp-stack-functions
cpp-map-functions
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !