Box Interview Question

mainly it was an algorithms and data structures