Data Structures, Algorithms, & Applications in C++
Chapter 3, Exercise 2

(a)
O(n3)

(c)
O(n2log n)

(e)
O(n2n)