chefleftright

In question 1 will Ihave to build a tree, or it will be like making only search function will do the job

//