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
37.4K+ articles
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.2K+ articles
JavaScript
12.2K+ articles
Data Structures
1.1K+ articles
Queue
371+ articles
cpp-deque
86+ articles
C++-Templates
14+ articles
cpp-deque-functions
7 posts
Recent Articles
Popular Articles
deque crend in C++ STL
Last Updated: 20 February 2023
The deque::crend() is an inbuilt function in C++ STL which returns a constant reverse iterator which points to the position before the first element of the deque. Syntaxde...
read more
C++
Picked
cpp-deque
cpp-deque-functions
deque shrink_to_fit in C++ STL
Last Updated: 25 April 2023
The deque::shrink_to_fit() is a built-in function in C++ STL which reduces the capacity of the container to fit its size and destroys all elements beyond the capacity. Thi...
read more
C++
Picked
STL
cpp-deque
cpp-deque-functions
deque get_allocator in C++ STL
Last Updated: 20 February 2023
deque::get_allocator() is a built in function in C++ STL which is used to get allocator of container deque. Syntax:Allocator_type get_allocator()Parameters: This function ...
read more
C++
Picked
STL
cpp-deque
cpp-deque-functions
Implement dynamic deque using templates class and a circular array
Last Updated: 21 May 2021
The task is to implement a dynamic Deque using templates class and a circular array, having the following functionalities: front(): Get the front item from the deque.back(...
read more
Queue
Data Structures
DSA
C++-Templates
cpp-deque
cpp-deque-functions
cend() Function in C++
Last Updated: 27 November 2022
Cend() is the function defined in C++ STL. This function produces a constant random access iterator that identifies the deque's past-the-end element. If the container is e...
read more
Technical Scripter
C++
Picked
Technical Scripter 2022
STL
cpp-deque
cpp-deque-functions
How to Add an Element at the End of a Deque in C++?
Last Updated: 27 March 2024
In C++, a deque is a flexible data structure that supports the insertion and deletion of elements from both ends efficiently. In this article, we will learn how to add an ...
read more
C++ Programs
C++
Picked
STL
cpp-deque
cpp-deque-functions
CPP Examples
How to Clear All Elements from a Deque in C++?
Last Updated: 03 April 2024
In C++, deque also known as double-ended queue is a container provided by the Standard Template Library (STL) that allows efficient insertion and deletion at both ends. I...
read more
C++ Programs
C++
Picked
cpp-deque
cpp-deque-functions
CPP Examples
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 !