由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 啥叫encode/decode binary tree啊?
相关主题
serialize n-ary tree 一问问一道n-ary tree 的题目
Google第二次电面请较一道面世题
如何 serialization 和deserialization hash table ?攒人品, Amazon电面
继续攒人品,发Apple面试题(iCloud)问道Binary tree serialization/de-serialization的题
问一道算法题amazon first phone interview, rejected
F家phone interview的一道题时隔一年再次得到Amazon电面机会
Serialization/Deserialization of a Binary Tree刚拿到A公司的offer,呈上面经
怎样serialize binary tree 比较好?弱弱的问关于二叉树的问题
相关话题的讨论汇总
话题: binary话题: tree话题: decode话题: encode
进入JobHunting版参与讨论
1 (共1页)
c********p
发帖数: 1969
1
看别人面经看到的。啥意思啊?
怎么个encode/decode法啊?
J****3
发帖数: 427
2
就是序列化和反序列化?
c********p
发帖数: 1969
3
不知道啊,
啥叫序列化,举个例子呗?

【在 J****3 的大作中提到】
: 就是序列化和反序列化?
J****3
发帖数: 427
4
OJ's Binary Tree Serialization:
The serialization of a binary tree follows a level order traversal, where '#
' signifies a path terminator where no node exists below.
Here's an example:
1
/
2 3
/
4

5
The above binary tree is serialized as "{1,2,3,#,#,4,#,#,5}".

【在 c********p 的大作中提到】
: 不知道啊,
: 啥叫序列化,举个例子呗?

J****3
发帖数: 427
5
OJ's Binary Tree Serialization:
The serialization of a binary tree follows a level order traversal, where '#
' signifies a path terminator where no node exists below.
Here's an example:
1
/
2 3
/
4

5
The above binary tree is serialized as "{1,2,3,#,#,4,#,#,5}".

【在 c********p 的大作中提到】
: 不知道啊,
: 啥叫序列化,举个例子呗?

J****3
发帖数: 427
6
擦 咋发了两次。
c********p
发帖数: 1969
7
啊?这个是oj里的么?
我从来没见过啊。。。

'#

【在 J****3 的大作中提到】
: OJ's Binary Tree Serialization:
: The serialization of a binary tree follows a level order traversal, where '#
: ' signifies a path terminator where no node exists below.
: Here's an example:
: 1
: /
: 2 3
: /
: 4
:

J****3
发帖数: 427
8
- - 不认真啊少年!
c********p
发帖数: 1969
9
真没见过啊。。。
不在oj里。。。

【在 J****3 的大作中提到】
: - - 不认真啊少年!
1 (共1页)
进入JobHunting版参与讨论
相关主题
弱弱的问关于二叉树的问题问一道算法题
A家面经, offer, 请教NegotiationF家phone interview的一道题
这题咋做, 有点像Run Length encoding, 但又不全是?Serialization/Deserialization of a Binary Tree
求个java版本的binary tree serialization和deserialization怎样serialize binary tree 比较好?
serialize n-ary tree 一问问一道n-ary tree 的题目
Google第二次电面请较一道面世题
如何 serialization 和deserialization hash table ?攒人品, Amazon电面
继续攒人品,发Apple面试题(iCloud)问道Binary tree serialization/de-serialization的题
相关话题的讨论汇总
话题: binary话题: tree话题: decode话题: encode