Amazon Interview Question

implement a balance loader data structure