首页> 外文会议>International symposium on distributed computing >Depth of a Random Binary Search Tree with Concurrent Insertions
【24h】

Depth of a Random Binary Search Tree with Concurrent Insertions

机译:具有并发插入的随机二叉搜索树的深度

获取原文

摘要

Shuffle a deck of n cards numbered 1 through n. Deal out the first c cards into a hand. A player then repeatedly chooses one of the cards from the hand, inserts it into a binary search tree, and then adds the next card from deck to the hand (if the deck is empty). When the player finally runs out of cards, how deep can the search tree be? This problem is motivated by concurrent insertions by c processes of random keys into a binary search tree, where the order of insertions is controlled by an adversary that can delay individual processes. We show that an adversary that uses any strategy based on comparing keys cannot obtain an expected average depth greater than O(c + log n). However, the adversary can obtain an expected tree height of Ω(c log(n/c)), using a simple strategy of always playing the largest available card.
机译:随机播放一副n到1到n的卡片。派出第一张c卡到手。然后,玩家反复从一手牌中选择一张牌,将其插入二叉搜索树,然后将副牌中的下一张牌添加到该手(如果副牌为空)。当玩家最终用完纸牌时,搜索树的深度有多深?此问题是由随机关键字的c个进程同时插入到二进制搜索树中引起的,在二进制搜索树中,插入顺序由可能会延迟单个进程的对手控制。我们表明,使用基于比较键的任何策略的对手都无法获得大于O(c + log n)的预期平均深度。但是,对手可以使用总是打出最大可用纸牌的简单策略来获得期望的树高Ω(c log(n / c))。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号