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

Discussion

A search generates one million nodes per second. How long does \( 10^{12} \) nodes take?

  • A.About 16.7 minutes
  • B.About 1000 seconds
  • C.About 2.8 hours
  • D.About 11.6 days

Answer: D

Dividing the node count by the rate gives:

\[ \tfrac{10^{12}}{10^{6}} = 10^{6} \]

seconds, which is about 11.6 days. Two more levels of a tree with branching factor ten would take three years. Converting node counts into wall clock time is what turns an abstract complexity into a decision about whether a program can be run at all, and it should be done before the program is written.

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

Post your comment

Please log in or register to post a comment.