assignment of data structure and algo