Design choices in a concurrent, singly linked list.
并发单向链表的设计方法。
Given a singly linked list, determine if it is a palindrome.
给定一个单链表,判断它是否是回文。
Listing 1 shows the most basic concurrent, singly linked list interface.
清单1给出最基本的并发单向链表接口。
Given a singly linked list, group all odd nodes together followed by the even nodes.
给定一个单链表,将其节点进行分组,使得所有的奇数节点排列在前,偶数节点在后。
Singly linked lists are a powerful abstraction that allow you to represent numerous types of data.
单链表是让您可以描述多种类型数据的一种有效抽象。
Consider the following singly linked implementation of the LinkedList class, with a dangling composite.
考虑下面linkedlist类的单连接执行,它有一个悬挂复合类型。
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
给定一个升序排列的有序单链表,将其转换为一棵平衡的二叉搜索树。
Instead of implementing singly linked lists as we did earlier, I recommend implementing such lists with a class LinkedList that contains a field holding either an Empty or a Cons class.
我建议执行有着linkedlist类的链表,该类包含一个有empty类或cons类的域,而不是象我们前面做的那样,单个执行链接链表。
Each scheduler class is linked with one another in a singly linked list, allowing the classes to be iterated (for example, for the purposes of enablement of disablement on a given processor).
每个调度器类都在一对一连接的列表中彼此相连,使类可以迭代(例如,要启用给定处理器的禁用)。
The two lower wings each hold a pair of SFS L-s9.3 laser cannons which can be fired singly or linked.
两个下翼各有一对西纳舰队系统的L -s9.3激光炮,可以点射或连射。
Their values are stored on singly-linked lists of overflow pages.
它们的值也会存储在溢出页的单项链表上。
An abbreviation for the type of immutable singly-linked lists.
不可变单向链接列表的类型的缩写词。
An abbreviation for the type of immutable singly-linked lists.
不可变单向链接列表的类型的缩写词。
应用推荐