Time And Space Compl