Join 36000+ teachers and students using TTIO.
Efficiency looks at how much
TIME
it takes to run a particular algorithm and how much
SPACE
is needed.
By using both measurements, an algorithm that looks much more complex can actually be more efficient. ... Efficiency looks at how much time it takes to run a particular algorithm and how much space is needed.
www.teachyourselfpython.com