Optym Interview Question

data structures and their time complexity