Courses
Tutorials
Practice
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
37.5K+ articles
DSA
22.8K+ articles
Misc
8.8K+ articles
C++
4.3K+ articles
Competitive Programming
3.3K+ articles
STL
1.3K+ articles
Linked List
1.2K+ articles
CPP-Functions
615+ articles
cpp-map
287+ articles
cpp-containers-library
93+ articles
cpp-map-functions
9 posts
Recent Articles
Popular Articles
Important functions of STL Components in C++
Last Updated: 02 November 2023
[tabby title="C++"][sourcecode language="cpp"]// C++ code#include iostream#include utilityusing namespace std;int main(){ // Declaring the PAIR1 of int and char // I...
read more
Articles
Stack
Queue
Competitive Programming
STL
cpp-vector
C++
Data Structures
C++ Programs
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
DSA
Minimum deletions required to make frequency of each letter unique
Last Updated: 02 July 2020
Content removed for this article....
read more
Arrays
Greedy
Hash
cpp-map-functions
DSA
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
Linked-List-Polynomial
cpp-map-functions
DSA
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
Strings
substring
cpp-strings
cpp-map-functions
DSA
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
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++
cpp-map
Picked
cpp-map-functions
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
STL
CPP-Functions
C++
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
STL
CPP-Functions
C++
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
STL
CPP-Functions
C++
cpp-containers-library
cpp-map
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 !