Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
Strings
3.2k+ articles
C++ Programs
2.5k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
substring
340+ articles
cpp-map
270+ articles
cpp-containers-library
92 articles
cpp-strings
59 articles
cpp-map-functions
9 posts
Popular Articles
Recent 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 th
...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^
...read more
Linked List
Linked-List-Polynomial
cpp-map-functions
DSA
Similar Topics
DSA
22.3k+ articles
C++
4k+ articles
Strings
3.2k+ articles
C++ Programs
2.5k+ articles
STL
1.2k+ articles
CPP-Functions
600+ articles
substring
340+ articles
cpp-map
270+ articles
cpp-containers-library
92+ articles
cpp-strings
59+ articles
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:
...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 a
...read more
C++ Programs
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
...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 itera
...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, w
...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 th
...read more
STL
CPP-Functions
C++
cpp-containers-library
cpp-map
cpp-map-functions
1
1
1
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 !