Ask your own question, for FREE!
MIT 6.00 Intro Computer Science (OCW) 9 Online
OpenStudy (anonymous):

For problem set 7. questions 1-4, are my answers correct?? 1) exponential 2) exponential 3) linear 4) logarithmic I cant really explain why i think this, so I'm not sure, but if someone could just tell me if I'm right or wrong, please. Also in question 5, what do they mean by "hand simulation of code"? do they mean i should do a dry run test and produce a table?? thanks.

OpenStudy (anonymous):

i am wrong :(

OpenStudy (mattc):

I would like to know the answers for thse questions also. I got linear for all of them.

OpenStudy (anonymous):

i found some answers , one sec ill give u the link... http://mit.edu/magnus89/Public/Classes/6.00%20F08/Pset%207%20Soln.pdf

OpenStudy (mattc):

thanks

OpenStudy (anonymous):

no probs

OpenStudy (anonymous):

@ MattC: Despite the proble answers that zohaibkhan posted, I agree with linear since the number of unique characters is finite, so the length of the set of characters can't grow beyond some upper bound.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!