Bloomberg Interview Question

how to make data structures abstract