Python's deque data structure for JavaScript. See docs. Parent is js-data-structures.
import {deque} from '@data-structure/deque';
deque( 'abcde' , 3 ) ; // 'cde'
:snake: Python's deque data structure for JavaScript
https://data-structures-and-algorithms.github.io/js-collections-deque
Python's deque data structure for JavaScript. See docs. Parent is js-data-structures.
import {deque} from '@data-structure/deque';
deque( 'abcde' , 3 ) ; // 'cde'
:snake: Python's deque data structure for JavaScript
https://data-structures-and-algorithms.github.io/js-collections-deque
GNU Affero General Public License v3.0