Amazon Interview Question

explain the working of trees and graphs