Add paragraphs about time and memory complexity