Toptal Interview Question

Data Structures on arrays and graphs