当前位置:
首页 资源下载
搜索资源 - double ended queue
搜索资源列表
-
0下载:
实现了Socket的异步通信,包括线程间通信,双端队列通信等功能。-Socket implementation of the asynchronous communication, including inter-thread communications, double-ended queue communications functions.
-
-
0下载:
单链表类双端队列,可从两端插入
单链表类双端队列,可从两端插入-Single-chain-type double-ended queue, can be inserted from the ends of single-chain-type double-ended queue, can be inserted from both ends
-
-
0下载:
双端队列,简单描述了双端队列的功能,对初学者有较大帮助-Double-ended queue, a brief descr iption of the double-ended queue functions, greater help for beginners
-
-
0下载:
循环双端队列的元素插入,删除,以及输入输出-Double-ended queue, circular element insertion, deletion, and the input-output
-
-
0下载:
Socket异步通信,线程,双端队列
/* * * * * * * * * * * * * * * * *
* ·(0) *
* ↖ 调用点 *
* Head ☉0 ←——☉o *
* ↖↘ ︱ *
* ☉1 ︱ *
* ↖↘ ↓ *
* ☉2 *
* Tail ↘ *
* ·(0) *
* * * * * * * * * * * * * * * * */-Socket asynchronous communication, t
-
-
0下载:
C++标准库简介,包括以下内容:
1.C++标准库——函数对象
2.pair-min-max-swap
3.std_deque双端队列容器
4.std_map作为一个关联数组
5.std_set作为一个有序集合
6.容器中的型别
7.使用std_list作为链表
8.使用以vector简化对象管理
-About C++ standard library, including the following: 1.C++ standard librar
-
-
1下载:
找到一个作者的关于环形队列的源码,分享一下
boost 已经有了一个这样
的缓冲区,circular_buffer,由Jan Gaspar设计实现,它的数据结构跟传统的环形队列(很多数
据结构书上有相关介绍)一样,速度比传统的环形队列快得多。只不过我对它的表现还是不
太满意,觉得它还不够快。为此,我设计了一个简单的循环双端队列,它的数据结构与
circular_buffer 没什么两样,但没有编写迭代器,也没有给出太多公有成员函数,只不过它
的速度要快一些-To find
-
-
0下载:
在一个双端队列的两端实现添加删除,并进行队列判空判满操作-In a double-ended queue, add and delete both ends to achieve, and the queue is full of sub-contracting operation of air
-
-
0下载:
双端队列应用于优化算法,解决竞赛题:由题目所说,Mr Pote有n个袋子装豆子。Mr Pote从中进行挑选包装,要求找出连续一列袋子,使得它们的豆子总和s在满足s p<=k条件下最大 ,以保证被狗狗吃掉的最少,并且Mr .Pote装的豆子最多。最后输出狗狗吃掉的豆子数目,即s p的结果。
抽象后表述为:给定n,p,k,以及n项数列[wi],要求找出其一个连续子序列,使得其和s在满足s p<=k的条件下最大,输出s整除p的结果。-Double-ended queue used in
-
-
0下载:
Socket异步通信 线程 双端队列, 通过队列来进行通信,保证不会重发-Socket asynchronous communication thread 2C 2C double-ended queue. ZipSocket asynchronous communication thread 2C 2C double-ended queue. ZipSocket asynchronous communication 2C 2C deque thread. Zip
-
-
0下载:
Write a C program to implement a double ended queue ie dequeue using doubly linked list. Implement all the operations of deq-Write a C program to implement a double ended queue ie dequeue using doubly linked list. Implement all the operations of deq
-
-
0下载:
1. 所谓双端队列(double-ended queue,deque),就是在列表的两端都可以插入和删除数据。因此它允许的操作有Create、IsEmpty、IsFull、Left、Right、AddLeft、AddRight、DeleteLeft、DeleteRight。使用循环数组方式实现双端队列,要求实现上述操作,并实现一个Print输出操作,能将队列由左至右的次序输出于一行,元素间用空格间隔。队列元素类型设为整型。-Called deque (double-ended queue, de
-
-
0下载:
CS2208 - Data Structures Lab (Anna University)
EXERCISES
1a. Implement singly linked lists.
1b. Implement doubly linked lists.
2. Represent a polynomial as a linked list and write functions for polynomial addition.
3. Implement stack and
-
-
0下载:
A double-ended queue (dequeue).
-
-
0下载:
利用数组实现双端栈;利用双端队列depue实现双端队列-Use deque depue achieve double-ended queue
-
-
0下载:
用单链表类来表示一个双端队列,要求可在表的两端插入(链表头和尾,
即可用向前和也可用向后生成),但只能在表的一端删除(链表头)。给出基于
此结构队列的两个入队和一个出队算法的成员函数。-A single linked list class to represent a double-ended queue, requirements can be inserted into the ends of the table (list head and tail can also be use
-
-
0下载:
An implementation of a double-ended priority queue using an interval heap.
-