It's UWAweek 48

help2200

This forum is provided to promote discussion amongst students enrolled in CITS2200 Data Structures and Algorithms.

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.

How do I ask a good question?
Showing 20 of 176 articles
Showing page 5 of 9⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported 10:19pm Fri 26th Apr, ANONYMOUS

Are we allowed to create our own functions as well?


SVG not supported 5:38pm Thu 25th Apr, ANONYMOUS

Hi, I'm a little bit confused as to how these questions are differemt. Q1 Write a simple description of how you are going to represent the problem as a data structure. Your description should justify how the representation is going to help you solve th...


SVG not supported 4:12pm Thu 25th Apr, Lewei X.

oooooh thanks for that my dumbass read the literally for some reason. i read it as no Kiktil will be named the string literal "child name" lol


SVG not supported 12:27pm Thu 25th Apr, ANONYMOUS

The explanation for the add child method in genealogy.py will probably answer your first question.


SVG not supported 11:21pm Wed 24th Apr, ANONYMOUS

Are the expected target complexities given referring to amortized complexity or Worst Case complexity?


SVG not supported 8:08pm Tue 23rd Apr, Lewei X.

I believe the first question is asking is what data structure you are going to use to represent the hierarchical structure family tree of the kiktils, whilst question 6 is asking about all the other data structures you used to implement the other met...


SVG not supported 8:04pm Tue 23rd Apr, Lewei X.

Oh sorry I thought you meant lab2 as in the first assessed lab. As for the second assessed lab I am also a bit confused about what question 6 haha.


SVG not supported 8:00pm Tue 23rd Apr, Lewei X.

Hi bill, question 6 did ask for complexity as well. Question 6 is asking why your solution is correct as well as the time complexity of your solution. Here is my answer that I got full marks for Question 6 (1 mark) Give an argument for the correctn...


SVG not supported 6:41pm Tue 23rd Apr, Lewei X.

Hi there, just wanted to clarify some assumptions about the lab 1. Can we assume that no 2 kiktil will have the same name? I'm assuming this will be the case as if 2 kiktils had the same name, it would make the get cousin dist() function impossible t...


SVG not supported 6:36pm Tue 23rd Apr, Lewei X.

Tree ADT is covered in lecture 15, which I believe will be covered in the wed thurs lectures. Of course you can study the slides yourself and use the internet to study up. The lab becomes pretty self explanatory after you understand the tree ADT.


SVG not supported 12:25pm Tue 23rd Apr, William R.

When will submissions be open for the Second Assessed Lab, I finished the labs and answers and don't want to forget to submit. Thanks, Bill


SVG not supported 11:46am Tue 23rd Apr, William R.

For question 6, what sort of answer is expected of us? I understand it wants the function and purpose of chosen data structures but the justification for the chosen data structures are also asked for in question 1. Is question 6 just question 1 witho...


 UWA week 16 (1st semester, week 7) ↓
SVG not supported 10:21pm Wed 17th Apr, Nico B.

There is an explanation under the function in genealogy.py that explains how to calculate it. If you draw a diagram of the test sample genealogy, you can see who is related to who and find their closest shared ancestor. Then, from this shared ancesto...


SVG not supported 5:43pm Wed 17th Apr, William R.

I found that only the absolutely simplest structure lets me have O(1) so simple data structures built into python are a good start on finding the right one.


SVG not supported 4:52pm Wed 17th Apr, Jason Y.

Nothing about the algorithm or anything, I'm just genuinely confused at the values I need to return for this function.. can anyone explain what the question meant by "degree and removal of the cousin relation". Reading the expected results of the tes...


SVG not supported 3:58pm Wed 17th Apr, ANONYMOUS

I met the same question, I can't decide use which kind of data structures...


SVG not supported 11:04am Wed 17th Apr, William R.

Nevermind, I'm overcomplicating this.


SVG not supported 2:23pm Tue 16th Apr, William R.

Is O(1) achievable? The add child function asks for a target of O(1), a tree data structure wouldn't be able to achieve this, finding from root the parent to link the child would be O(n). A set would meet O(1) but would have trouble with get primogen...


SVG not supported 11:26am Tue 16th Apr, ANONYMOUS

Just had a look over lab four and it seems to cover implementing something like a tree diagram but in python form. Are the lectures still behind on the content for this lab even though its assessed?


 UWA week 15 (1st semester, week 6) ↓
SVG not supported 11:10am Sat 13th Apr, ANONYMOUS

Thank you so much Was pretty confused, guess its just how the question is written. Thank you for clarifying

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy