It's UWAweek 17 (1st semester, week 8)

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?
Displaying the 3 articles in this topic
Showing 3 of 95 articles.
Currently no other people reading this forum.


 UWA week 17 (1st semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
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 to do. 2. On the same line of thought, can we assume that the get_cousin_dist() will always receive valid parameters aka the same name will not be given for lhs_name and rhs_name? Or do we need to return something like (-1, 0).


SVG not supported

Login to reply

👍?
helpful
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

Login to reply

👍?
helpful
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

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  5:07AM Sep 06 2023
Privacy policy