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.
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...
I seem to fix one issue and another pops up, not really sure where to go anymore. I seem to always be getting these fails. Have I missed something with these calculations, if so let know if you can point me in a direction that might help solve these ...
it's mentioned in README.md under the heading implementation, that "You are welcome to add any methods to the class, as long as they do not compromise the provided tests."
Hi,
I understand we have to develop a class called leaderboard in Lab 2. However, the instructions were not clear if we can write our own functions, or if everything must be in the class methods. I want to write a merge function to make my code cleane...
Since there is no such input size where merge sort is faster than insertion sort, then based on the general time complexity of the sorting algorithms, merge sort will be the obvious solution. Is this correct?
Based on the standard competition ranking,...
Amitava mentioned in the lecture that insertion sort is faster than merge sort up until 6000 elements. However, the graph of both algorithms show that the intercept is much smaller, and insertion sort is only faster for less than 100 elements approxi...
Hiafter a grueling day I have gotten test speedrunning.py to return all OKs.
But my program doesn't feel as robust as I would like it to be (I'll clean it up at a later date) so on that note, does my program passing the tests guarantee that it will pa...
I am unsure how the rank system works. If 10,20,20,40, then the ranks are 1,2,2,4. However, what if a get rank time(3) is provided, but there are no rank3? If get rank time(3) returns '20', then it the rank is simply the index - 1 which seems wrong.
Hi, I just saw the email regarding the test next week and was wondering what can we do to prepare?
Are there practice tests or material for us to use?
Additionally, the email reads "The test will include materials covered until this week's (week sta...
hi will the lab 1 answers be released soon? or will it be covered in the lecture? I think many students are having some difficulties completing it and it would be great if we could have the solutions to them.
Hi there, in the readme.md, it says that we are to write our answers in the "answers.md" file which is provided. I can't seem to find this file on LMS. Are we to create our own answers.md or will it be provided?
Also, I do not see this unit or the sub...
Replying here because UC replied the wrong thing just in case others are trying to search for answer
"in-class tests will be multiple choice and closed book. No materials will be allowed. "