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.
ANONYMOUS wrote
You should analyse the time complexities of all parts of an algorithm. The analysis of non-dominant parts will cost you (may be) two more sentences and half a minute of writing.
ANONYMOUS wrote
K is a variable here, not a constant, so we can't do what you have written. K is a constant only for a specific instance. Suppose you have to find n smallest elements? It will be an O(n) algorithm according to your logic. That will br...
ANONYMOUS wrote
I have mentioned this several times that clear explanation in English is sufficient. You should be able to judge (when you are doing a second year unit) whether you are explaining clearly. Can you convince yourself? If yes, that is a ...
No, we did not do any such complicated thing. I have explained the complexity in a very simple way. When we do the union operation, we double at least one of the sets by the union. Since it is true in every step, we need O(log n) steps. Please listen...
ANONYMOUS wrote
I will not provide sample answers. I have discussed in the last lecture Tutorial the types of answers I expect. Please listen to that recording. You can also come and discuss with me anytime Tues-Thursday (please send me mail), or ask...
ANONYMOUS wrote
I do not reply to every question. I wait for others to answer, and also there are labs and lab facilitators for answering lab related questions. You should attend labs and ask questions.
Here is a clarification for Lab2 testing
The spec does not consider the possibility of calling get rank time() for a rank that does not currently exist on the leaderboard. Since it specifies to return the maximum time that would be necessary to ac...
ANONYMOUS wrote
All materials covered in this unit are from lecture slides and lab sheets. You will get two weeks to complete each lab, and the three assessed labs are broken down in smaller parts. One of the main aims of this unit is to build confid...