Machine-translated by Google. Questions are authored in English.
Top

Discussion

Why do node counts translate to memory more painfully than to time?

  • A.Memory cannot be increased whereas computation time can be
  • B.Modern machines generate nodes faster than they can store them
  • C.Memory access is slower than computation on modern hardware
  • D.Nodes must be stored permanently while time is reusable

Answer: B

A processor generates millions of nodes a second but a machine holds only a few tens of millions of hundred byte nodes, so the memory is exhausted in seconds while the computation could have continued for hours. That asymmetry is why linear space algorithms matter so much. Access latency, permanence and expandability are secondary. Comparing the rates at which two resources are consumed identifies which will run out first, which is the only question that matters.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.