Chef and Lollipops 2

I KNOW HOW TO CREATE TREE BY PRE, POST,IN ORDER TRAVERSAL
BUT HOW TO CREATE USING UNORDERED NODE

as given in this question…Suggest some link or hint