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

Another problem on ps8 about dp programming. In the lecture the professor used aw and i as the key to identify each case and store each case in a dictionary. My question is that why is the aw and i key capable to uniquely identify each case?

OpenStudy (anonymous):

his function mimics 'running thru' the decision tree. each branch should have a unique index and available work value i would think. put print statements in the code to see if this is the case

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!