Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
sounds like its not finding your correct genealogy.py , as its not even stating which tests have pass failed so we can deduce that it didn't get to the testing stage of the program in the first place. either that or perhaps your class name inside th...
how fast are everyone's solutions passing the test script? im sitting 0.6 seconds (down from 19s before ), not too sure if I can get it any faster from here. TIA
with returning positive infinity, thats what im also doing for now. and for what its worth, to cover all edge cases, im throwing negative infinity for when the rank is 1. I am sort of just assuming that that is what we are expected to do, but ill b...
I was thinking about this myself, but computers are so fast that for sorting sub 100 elements it makes hardly any practical difference, so I went with merge sort only. Also, different sources on the internet say different numbers of n items are the...