1. Design a logger class.
2. Given two binary trees s and t, check if tree t has exactly the same structure and node values with a subtree of s. A subtree of s is a tree consists of a node in s and all of this node's descendants. The tree s could also be considered as a subtree of itself.
3. How would you find an element from a list?