Amazon Interview Question

The node in a tree has either 5 children or none, given its preorder? how to construct the original tree.