Brocade interview question

Java questions on trees and graphs.