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
DSA
22.8K+ articles
Python
21.3K+ articles
Experiences
16.6K+ articles
Interview Experiences
14.1K+ articles
JavaScript
12.2K+ articles
School Learning
11.5K+ articles
Java
10.8K+ articles
PHP
3.9K+ articles
PHP-function
2.3K+ articles
PHP-ds_deque
32 posts
Recent Articles
Popular Articles
PHP | Ds\Deque remove() Function
Last Updated: 14 August 2019
The Ds\Deque::remove() function is an inbuilt function in PHP which is used to remove and return the index value.Syntax:public Ds\Deque::remove( $index ) : mixedParameters...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque reverse() Function
Last Updated: 14 August 2019
The Ds\Deque::reverse() function is an inbuilt function in PHP which is used to reverse the elements in the Deque in-place.Syntax:public Ds\Deque::reverse( void ) : voidPa...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque reversed() Function
Last Updated: 14 August 2019
The Ds\Deque::reversed() function is an inbuilt function in PHP which is used to return the copy of Deque which contains the elements in reversed order.Syntax:public Ds\De...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque rotate() Function
Last Updated: 14 August 2019
The Ds\Deque::rotate() function is an inbuilt function in PHP which is used to rotate the elements of Deque by the given number of rotations.Syntax:public Ds\Deque::rotate...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque set() Function
Last Updated: 14 August 2019
The Ds\Deque::set() function is an inbuilt function in PHP which is used to set the value at the given index in the Deque.Syntax:public Ds\Deque::set( $index, $value ) : v...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque slice() Function
Last Updated: 14 August 2019
The Ds\Deque::slice() function is an inbuilt function in PHP which is used to return a sub-Deque which contains elements of the Deque within the index range.Syntax:public ...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque sort() Function
Last Updated: 14 August 2019
The Ds\Deque::sort() function is an inbuilt function in PHP which is used to sort the Deque in place by arranging the elements in increasing order.Syntax:public Ds\Deque::...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque sum() Function
Last Updated: 14 August 2019
The Ds\Deque::sum() function is an inbuilt function in PHP which is used to return the sum of all elements present in the Deque.Syntax:public Ds\Deque::sum( void ) : numbe...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque toArray() Function
Last Updated: 14 August 2019
The Ds\Deque::toArray() function is an inbuilt function in PHP which is used to convert a Deque into an array. The elements of the array will be in the same order as they ...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque sorted() Function
Last Updated: 14 August 2019
The Ds\Deque::sorted() function is an inbuilt function in PHP which is used to return a copy of Deque which contains the element in the original Deque in increasing order....
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque __construct() Function
Last Updated: 14 August 2019
The Ds\Deque::__construct() function is an inbuilt function in PHP which is used to create a new instance.Syntax:Ds\Deque::__construct( $values )Parameters: This function ...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque shift() Function
Last Updated: 14 August 2019
The Ds\Deque::shift() function is an inbuilt function in PHP which is used to remove and return the first value of deque.Syntax:mixed Ds\Deque::shift( void )Parameters: Th...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP | Ds\Deque unshift() Function
Last Updated: 20 March 2023
The Ds\Deque::unshift() function is an inbuilt function in PHP which is used to add the value in front of the deque. Syntax:void Ds\Deque::unshift( $values )Parameters: Th...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
PHP Ds\Deque Functions Complete Reference
Last Updated: 25 January 2023
A deque data structure is used to store the sequence of values in a contiguous memory buffer which grows and shrinks automatically. The deque is the abbreviation of "doubl...
read more
Web Technologies
PHP
PHP-ds_deque
PHP | Ds\Deque contains() Function
Last Updated: 30 July 2019
The Ds\Deque::contains() function is an inbuilt function in PHP which is used to check the deque contains given values or not.Syntax:bool Ds\Deque::contains( $values )Para...
read more
Web Technologies
PHP
PHP-function
PHP-ds_deque
1
2
3
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 !