DSA - Algorithm Complexity HW -A