binary_tree_from_string_with_bracket_representation/binary_tree_from_string_with_bracket_representation.h file

Namespaces

namespace binary_tree_from_string_with_bracket_representation
Construct Binary Tree from String with bracket representation Construct a binary tree from a string consisting of parenthesis and integers. The whole input represents a binary tree. It contains an integer followed by zero, one or two pairs of parenthesis. The integer represents the roots value and a pair of parenthesis contains a child binary tree with the same structure. Always start to construct the left child node of the parent first if it exists.

Classes

class binary_tree_from_string_with_bracket_representation::Node
Node struct for a simple binary tree.