day3

package
v0.0.0-...-d40efbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serialize

func Serialize(root *Node) string

Serialize persists a general binary tree into a string.

Types

type Node

type Node struct {
	// contains filtered or unexported fields
}

Node represents a general binary tree.

func Deserialize

func Deserialize(data string) *Node

Deserialize converts a string into a general binary tree.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL