由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - discussing questions on Xmas eve
相关主题
C++ Q62: loop in a linked list (Bloomberg)面试的时候 binary tree的delete也要15分钟之内写完么?
问一题如何删除 linked list 的最后一个元素 (转载)
请教一个C++问题问一个问题: binary search Tree的删除用java实现。
delete a node in linked list问一个C++ delete 节点的问题
tnnd! Small company, Big question这题怎么做啊?
脸家HC review是怎么work的,挂人多么F电面
one linked list question哪位大牛能给贴个tri-nary search tree的delete的code?
两个面试题目讨论一下亚麻onsite
相关话题的讨论汇总
话题: xmas话题: discussing话题: eve话题: loop话题: questions
进入JobHunting版参与讨论
1 (共1页)
H*M
发帖数: 1268
1
would be fun!!
l**a
发帖数: 43
2
出题吧

【在 H*M 的大作中提到】
: would be fun!!
w********p
发帖数: 948
3
加入
过节了,别太难。。。
H*M
发帖数: 1268
4
ok.guys..let me check zhiyebei

【在 w********p 的大作中提到】
: 加入
: 过节了,别太难。。。

l**a
发帖数: 43
5
find the start of loop first, then delete from head, at loop start, move to
next node, and set the loop start's next node to null, delete the rest nodes
one by one

finish
funny

【在 H*M 的大作中提到】
: ok.guys..let me check zhiyebei
H*M
发帖数: 1268
6
yeah. I think we can un-loop it first and delete normally..

to
nodes

【在 l**a 的大作中提到】
: find the start of loop first, then delete from head, at loop start, move to
: next node, and set the loop start's next node to null, delete the rest nodes
: one by one
:
: finish
: funny

g****u
发帖数: 136
7
有个性

【在 H*M 的大作中提到】
: would be fun!!
a****l
发帖数: 245
8
it seems to me that we don't need to find the start of loop. Deleting each
node from start normally and setting the deleted node to null should work ba
...

to
nodes

【在 l**a 的大作中提到】
: find the start of loop first, then delete from head, at loop start, move to
: next node, and set the loop start's next node to null, delete the rest nodes
: one by one
:
: finish
: funny

1 (共1页)
进入JobHunting版参与讨论
相关主题
亚麻onsitetnnd! Small company, Big question
Link nodes at same level in a binary tree 怎么做?脸家HC review是怎么work的,挂人多么
问个题目one linked list question
一道C面试题两个面试题目讨论一下
C++ Q62: loop in a linked list (Bloomberg)面试的时候 binary tree的delete也要15分钟之内写完么?
问一题如何删除 linked list 的最后一个元素 (转载)
请教一个C++问题问一个问题: binary search Tree的删除用java实现。
delete a node in linked list问一个C++ delete 节点的问题
相关话题的讨论汇总
话题: xmas话题: discussing话题: eve话题: loop话题: questions