find the complexity function for each of these algorithms and explain why algorithm b is more efficient assume that mulitppication is the basic operation