Data Structure and algorithm analysis