Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are some key operations performed on the Deque data structure?
Home
DBMS
What are some key operations performed on the Deque data structure?
0
votes
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
What are some key operations performed on the Deque data structure?
dbms
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 10, 2023
by
DavidAnderson
Following are the key operations available deque:
insertFront()
: This adds an element to the front of the Deque.
insertLast()
: This adds an element to the rear of the Deque.
deleteFront()
: This deletes an element from the front of the Deque.
deleteLast()
:This deletes an element from the front of the Deque.
getFront()
: This gets an element from the front of the Deque.
getRear()
: This gets an element from the rear of the Deque.
isEmpty()
: This checks whether Deque is empty or not.
isFull()
: This checks whether Deque is full or not.
Related questions
0
votes
Q: What is a deque data structure and its types? What are the applications for deque?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
0
votes
Q: What is graph data structure and its representations? What are the applications for graphs?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
0
votes
Q: What is binary search tree data structure? What are the applications for binary search trees?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
0
votes
Q: What is binary tree data structure? What are the applications for binary trees?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
0
votes
Q: What is the time complexity of basic operations get() and put() in HashMap class?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
+1
vote
Q: A treelike structure of records in a database.Select the best fit for answer
asked
Dec 4, 2022
in
DBMS
by
SakshiSharma
dbms
0
votes
Q: What is the requirement for an object to be used as key or value in HashMap?
asked
Aug 10, 2023
in
DBMS
by
DavidAnderson
dbms
+1
vote
Q: What is a largest collection of data stored in a computer? You might use this type of program to keep a record of all the friends in your address book.
asked
Dec 4, 2022
in
DBMS
by
SakshiSharma
dbms
+1
vote
Q: The following language used by most of the DBMSs for helping their users to access data
asked
Dec 4, 2022
in
DBMS
by
SakshiSharma
dbms
+1
vote
Q: The data in a record is of the following types
asked
Dec 4, 2022
in
DBMS
by
SakshiSharma
dbms
...