01. Algorithms-Complexity homework [DSA]