由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问一道题 ADVANCE DATA STRUCTURE AND ALGORITHM ANALYSIS
相关主题
Data Structure and Algorithm Analysis in C++Facebook One site
google search hint words data structure工作申请经历 (2) - Industry 篇
对于自学 clrs的来说Listen to My Story(1): 算法书籍篇
请推荐算法的书offer报告 (附带找工作感言)
求推荐Data Structure的比较好的书谁有点面.net的问题?电面哪方面问题多
Twitter实习最后一轮面试总结google onsite问个问题
那个 google hint words 的老题[求书]Data Structures, Algorithms, And Applications In C++ 英文版
Any hints about USCIS Lottery algorithm?Software engineer intership (Huawei USA) (转载)
相关话题的讨论汇总
话题: data话题: structure话题: analysis话题: advance话题: algorithm
进入JobHunting版参与讨论
1 (共1页)
x******i
发帖数: 172
1
Given an AVL tree (using pseudocode) how to support the following queries:
RangeMin (k1, k2): consider the field data stored in each node to be an
integer. Find the key with minimum data values among all the keys which are
between k1 and k2 in O(log n) times. (Hint: Consider storing an additional
field in the Node structure and show how can this field be maintained during
updates).
Thank you very much.
l****c
发帖数: 782
2
可以在每个结点,除了自己数本身再存在其children的上下限?RangeMin 中先判断
current value与k1关系,再觉得发挥current value, or go left, or go right, or
quit.
更新的时候,加结点好说,减结点就找下一个大的或小的?
怎么感觉更像是课上作业呢。。。
1 (共1页)
进入JobHunting版参与讨论
相关主题
Software engineer intership (Huawei USA) (转载)求推荐Data Structure的比较好的书
做了一个电子书 (sureinterview)Twitter实习最后一轮面试总结
求建议, Amazon phone interview 临时抱佛脚.那个 google hint words 的老题
非CS专业,怎么准备Amazon的面试呢?Any hints about USCIS Lottery algorithm?
Data Structure and Algorithm Analysis in C++Facebook One site
google search hint words data structure工作申请经历 (2) - Industry 篇
对于自学 clrs的来说Listen to My Story(1): 算法书籍篇
请推荐算法的书offer报告 (附带找工作感言)
相关话题的讨论汇总
话题: data话题: structure话题: analysis话题: advance话题: algorithm