Added notes on complexity.