problemscpp
A collection of my answers to algorithm problems in c++.
|
#include <leetcode.h>
静态 Public 成员函数 | |
static TreeNode * | deserialize (string data) |
Decodes your encoded data to tree. 更多... | |
static string | serialize (TreeNode *root) |
Encodes a tree to a single string. 更多... | |
在文件 leetcode.h 第 2605 行定义.
|
static |
Decodes your encoded data to tree.
在文件 leetcode.cpp 第 7045 行定义.
引用了 acwing::acwing836_408::root , 以及 pat::a::a7_2::vec.
被这些函数引用 leetcode::delete_node_in_a_bst::TEST() , 以及 leetcode::serialize_and_deserialize_binary_tree::TEST().
|
static |
Encodes a tree to a single string.
在文件 leetcode.cpp 第 7013 行定义.
引用了 leetcode::TreeNode::left, leetcode::TreeNode::right, acwing::acwing836_408::root, leetcode::TreeNode::val , 以及 pat::a::a7_2::vec.