Document time complexities