Amazon interview question

implement a balance loader data structure