Shipsy Interview Question

Basic data-structure & algorithms