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.4K+ articles
Misc
8.8K+ articles
Mathematical
7.8K+ articles
C++
4.3K+ articles
Searching
1.7K+ articles
Tree
1.4K+ articles
STL
1.3K+ articles
CPP-Functions
615+ articles
cpp-unordered_set
102+ articles
cpp-containers-library
93+ articles
cpp-unordered_set-functions
25 posts
Recent Articles
Popular Articles
unordered_set load_factor() function in C++ STL
Last Updated: 05 June 2023
The unordered_set::load_factor() is a built-in function in C++ STL which returns the current load factor in the unordered_set container. The load factor is the ratio betwe...
read more
Misc
C++
STL
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set erase() function in C++ STL
Last Updated: 12 June 2023
The unordered_set::erase() function is a built-in function in C++ STL which is used to remove either a single element or a group of elements ranging from start(inclusive) ...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set cend() function in C++ STL
Last Updated: 05 June 2023
The unordered_set::cend() method is a built-in function in C++ STL which is used to return a const_iterator pointing to past-the-end element in the unordered_set container...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set clear() function in C++ STL
Last Updated: 28 June 2022
The unordered_set::clear() function is a built-in function in C++ STL which is used to clear an unordered_set container. That is, this function removes all of the elements...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set count() function in C++ STL
Last Updated: 05 June 2023
The unordered_set::count() function is a built-in function in C++ STL which is used to count occurrences of a particular element in an unordered_set container. As the unor...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set find() function in C++ STL
Last Updated: 08 November 2023
The unordered_set::find() function is a built-in function in C++ STL which is used to search for an element in the container. It returns an iterator to the element, if fou...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set hash_function() in C++ STL
Last Updated: 05 June 2023
The unordered_set::hash_function() is a built-in function in C++ STL which is used to get hash function. This hash function is a unary function which takes asingle argumen...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set emplace() function in C++ STL
Last Updated: 05 June 2023
The unordered_set::emplace() function is a built-in function in C++ STL which is used to insert an element in an unordered_set container. The element is inserted only if i...
read more
Misc
C++
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set max_size() in C++ STL
Last Updated: 28 September 2018
The unordered_set::max_size() is a built-in function in C++ STL, defined in unordered_set.h which returns maximum number of elements that an unordered_set container can ho...
read more
C++
Picked
STL
CPP-Library
cpp-unordered_set
cpp-unordered_set-functions
unordered_set empty() function in C++ STL
Last Updated: 16 November 2023
The unordered_set::empty is a built-in function in C++ STL which is used to check if an unordered_set container is empty or not. It returns True if the unordered_set conta...
read more
C++
Picked
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set operator= in C++ STL
Last Updated: 05 June 2023
The '=' is an operator in C++ STL which copies (or moves) an unordered_set to another unordered_set and unordered_set::operator= is the corresponding operator function. Th...
read more
C++
Picked
STL
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set equal_range in C++ STL
Last Updated: 05 June 2023
equal_range() in general returns range that includes all elements equal to given value. For unordered_set where all keys are distinct, the returned range contains at-most ...
read more
C++
Picked
cpp-unordered_set
cpp-unordered_set-functions
unordered_set end() in C++ STL
Last Updated: 05 June 2023
The unordered_set::end() function is a built-in function in C++ STL which returns an iterator pointing to the past-the-end-element. This iterator does not directly point t...
read more
C++
Picked
CPP-Functions
cpp-unordered_set
cpp-unordered_set-functions
unordered_set operators in C++ STL
Last Updated: 21 April 2025
Unordered_set provides two operators in C++ STL. These are: Syntax: 1. (unordered_set lhs == unordered_set rhs)2. (unordered_set lhs != unordered_set rhs)These operators ...
read more
C++
Picked
cpp-unordered_set
cpp-unordered_set-functions
Median of sliding window in an array | Set 2
Last Updated: 02 August 2023
Prerequisites: Policy based data structure, Sliding window technique.Given an array of integer arr[] and an integer K, the task is to find the median of each window of siz...
read more
Tree
Searching
Sorting
Mathematical
Advanced Data Structure
Competitive Programming
Data Structures
DSA
sliding-window
median-finding
cpp-unordered_set-functions
1
2
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 !