由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 昨天被面试的问题
相关主题
如何实现binary tree的从下到上的分层打印?问个题:get max value from Queue, with O(1)?
求救: 打印binary treeA家来两道电面题
如何用JAVA中的circular array of queue 解决Josephus problem? (转载)贡献一道G家电面题
一道面试题CLRS算法书中BFS的疑问
请教一个系统设计问题 (转载)面试题
share 面试题问个OO题 (转载)
这个用stack实现queue一道很难的面试题
M$ screening coding题2道A第一轮电面,求建议,面完必update
相关话题的讨论汇总
话题: array话题: binary话题: queue话题: fields
进入JobHunting版参与讨论
1 (共1页)
D****g
发帖数: 2860
1
* Imagine a binary tree (not necessarily full). Suppose we add two extra
fields (pointers) to every node. Traverse the tree and connect all nodes on
the same level with these two fields.
* Partition an array using a pivot value (this value does not necessarily
appear in the array). Prove the correctness of your code.
* Binary search an array. Make sure every detail and boundary conditions are
taken care of.
* Implement a queue with an array (enqueue and dequeue).
1. Upper limit on the queue si
1 (共1页)
进入JobHunting版参与讨论
相关主题
A第一轮电面,求建议,面完必update请教一个系统设计问题 (转载)
Two programming questions...share 面试题
A家电面这个用stack实现queue
ebay第一轮电话面经M$ screening coding题2道
如何实现binary tree的从下到上的分层打印?问个题:get max value from Queue, with O(1)?
求救: 打印binary treeA家来两道电面题
如何用JAVA中的circular array of queue 解决Josephus problem? (转载)贡献一道G家电面题
一道面试题CLRS算法书中BFS的疑问
相关话题的讨论汇总
话题: array话题: binary话题: queue话题: fields