o2h Group interview question

what is tree, how to you implement stack using queue