由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - [合集] 公布几道变态的面试题。
相关主题
求教一道经典面题的解法求救: 打印binary tree
贡献两道google面试题一个Amazon的面经
一道C面试题non recursive binary tree traversal in O(n) time and O(1) space
amazon一道面试题问个老题
请教个面试题Facebook电面题目
请教一道面试题Google second phone interview
二叉树按层次打印有没有办法换行显示?A家一道onsite题
我恨iPhone@Facebook电面leetcode 上的k way merge
相关话题的讨论汇总
话题: node话题: china2008话题: stack话题: queue话题: class
进入JobHunting版参与讨论
1 (共1页)
m*****n
发帖数: 5245
1
☆─────────────────────────────────────☆
china2008 (china2008) 于 (Wed Jan 30 00:57:47 2008) 提到:
下面两道题是我面试所遇, 纯属变态。
1. Know the pointer to the node, remove the node from a single linked list.
Will not give the header of the list. function prototype is
void remove (Node *node)
Hint:
copy key and next fields of the next node to current node, then delete next
node.
2. Have a Stack class, pop() and push() member function , want to implement
a Queue using the Stack class, Queue class should have E
1 (共1页)
进入JobHunting版参与讨论
相关主题
leetcode 上的k way merge请教个面试题
这个题目有什么trick请教一道面试题
Code a non blocking thread safe queue二叉树按层次打印有没有办法换行显示?
用queue 做树的广度优先遍历,空间复杂度是多少?我恨iPhone@Facebook电面
求教一道经典面题的解法求救: 打印binary tree
贡献两道google面试题一个Amazon的面经
一道C面试题non recursive binary tree traversal in O(n) time and O(1) space
amazon一道面试题问个老题
相关话题的讨论汇总
话题: node话题: china2008话题: stack话题: queue话题: class