Design choices in a concurrent, singly linked list.
并发单向链表的设计方法。
Listing 1 shows the most basic concurrent, singly linked list interface.
清单1给出最基本的并发单向链表接口。
Given a singly linked list, determine if it is a palindrome.
给定一个单链表,判断它是否是回文。
Given a singly linked list, group all odd nodes together followed by the even nodes.
给定一个单链表,将其节点进行分组,使得所有的奇数节点排列在前,偶数节点在后。
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
给定一个升序排列的有序单链表,将其转换为一棵平衡的二叉搜索树。
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.
给定一个升序排列的有序单链表,将其转换为一棵平衡的二叉搜索树。
应用推荐