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
Difference Between
4.2k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
Queue
360+ articles
deque
64 articles
cpp-deque-functions
7 articles
cpp-deque
86 posts
Popular Articles
Recent Articles
Difference between Queue and Deque in C++
Last Updated: 20 June 2022
Queue: A Queue is a linear data structure that follows a First In First Out (FIFO) order in which the operations are performed. It is a type
...read more
Queue
C++
Difference Between
cpp-deque
deque
DSA
Deque vs Vector in C++ STL
Last Updated: 22 February 2023
Deque in C++ Standard Template Library (STL)Double-ended queues are sequence containers with the feature of expansion and contraction on bot
...read more
cpp-vector
C++
Data Structures
Difference Between
C++ Programs
cpp-deque
DSA
String after processing backspace characters
Last Updated: 07 September 2022
Given a string S containing letters and '#'. The '#" represents a backspace. The task is to print the new string without '#'.Examples:Input
...read more
Strings
Queue
cpp-deque
deque
cpp-strings
DSA
Similar Topics
DSA
22.3k+ articles
Difference Between
4.2k+ articles
C++
4k+ articles
C++ Programs
2.5k+ articles
STL
1.2k+ articles
CPP Examples
700+ articles
CPP-Functions
600+ articles
Queue
360+ articles
deque
64+ articles
cpp-deque-functions
7+ articles
deque insert() function in C++ STL
Last Updated: 14 June 2022
The deque::insert() function is a built-in function in C++ which is used to insert elements in the deque. The insert() function can be used
...read more
STL
CPP-Functions
C++
cpp-deque
deque::push_back() in C++ STL
Last Updated: 06 October 2021
Deque or Double ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vec
...read more
STL
C++
cpp-deque
deque::push_front() in C++ STL
Last Updated: 22 January 2018
Deque or Double ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vec
...read more
STL
C++
cpp-deque
deque::begin() and deque::end in C++ STL
Last Updated: 27 June 2023
Deque or Double ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vec
...read more
STL
C++
cpp-deque
Rearrange a linked list in to alternate first and last element
Last Updated: 24 February 2023
Given a linked list. arrange the linked list in manner of alternate first and last element.Examples:Input : 1-2-3-4-5-6-7-8Output :1-8-2-7-3
...read more
Linked List
cpp-deque
deque
DSA
deque::at() and deque::swap() in C++ STL
Last Updated: 27 June 2023
Deque or Double ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vec
...read more
STL
C++
cpp-deque
deque
deque::clear() and deque::erase() in C++ STL
Last Updated: 30 June 2022
Deque or Double-ended queues are sequence containers with the feature of expansion and contraction on both ends. They are similar to vectors
...read more
Misc
STL
CPP-Library
C++
cpp-deque
deque
Deque::empty() and deque::size() in C++ STL
Last Updated: 23 June 2022
Deque or Double Ended queues are sequence containers with the feature of expansion and contraction on both ends. They are similar to vectors
...read more
STL
CPP-Library
C++
cpp-containers-library
cpp-deque
Deque::front() and deque::back() in C++ STL
Last Updated: 11 September 2023
Deque or Double Ended queues are sequence containers with the feature of expansion and contraction on both ends. They are similar to vectors
...read more
STL
CPP-Library
C++
cpp-containers-library
cpp-deque
deque
deque::pop_front() and deque::pop_back() in C++ STL
Last Updated: 23 June 2022
Deque or Double ended queues are sequence containers with the feature of expansion and contraction on both the ends. They are similar to vec
...read more
STL
CPP-Library
C++
cpp-containers-library
cpp-deque
Deque in C++ STL
Last Updated: 27 February 2025
In C++, deque container provides fast insertion and deletion at both ends. Stands for Double Ended QUEue, it is a special type of queue wher
...read more
STL
C++
cpp-containers-library
cpp-deque
deque
Deque - Introduction and Applications
Last Updated: 18 March 2025
Deque or Double Ended Queue is a generalized version of Queue data structure that allows insert and delete at both ends. Below is an example
...read more
Queue
cpp-deque
deque
DSA
1
2
3
4
5
6
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
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 !