It's UWAweek 48

help3001

This forum is provided to promote discussion amongst students enrolled in CITS3001 Advanced 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 202 articles
Showing page 8 of 11⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 12:29pm Wed 18th Sep, Andrew G.

I encourage you to have a think about this question, which may help you figure out understand the solution If we somehow knew the set of potions and swords we would be using, does the order you use them matter?


SVG not supported 7:38pm Tue 17th Sep, ANONYMOUS

and also if anyone can explain the need for "if dist u is not None " but BFS doesn't need it in Dijkstra's, I've rewatched that section explanation a few times but couldn't really understand why.


SVG not supported 7:00pm Tue 17th Sep, ANONYMOUS

Hi there I just watched Lecture 14 and had a question. Would it be correct to say that all shortest path trees are spanning tree but not the other way around? Thanks


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 10:32am Sun 15th Sep, Joshua N.

The trick to this problem is determining the optimum number of potions to take. We don't want to know whether taking the next potion does more damage than using the next sword. We rather want to know whether taking the next potion does more damage th...


SVG not supported 10:52pm Fri 13th Sep, Mahit G.

The way I thought of solving this problem was similar to the hints, take all the potions if the remaining hp after the potion is less than a sword. If it isn't skip the potion and take a sword. This doesn't seem to work as in some cases, taking lesse...


SVG not supported 3:28pm Tue 10th Sep, Andrew G.

ANONYMOUS wrote There was no lecture this week due to the Mid-Semester test, as noted on LMS. Lecture 13 will be next week.


SVG not supported
Lecture13 👍x1  (both)
3:13pm Tue 10th Sep, ANONYMOUS

Hi Gozz, I don't see lecture13 uploaded onto LMS could you please upload it there


SVG not supported 1:58pm Tue 10th Sep, Max WG.

ANONYMOUS wrote It is now uploaded to LMS.


SVG not supported 1:57pm Tue 10th Sep, Max WG.

ANONYMOUS wrote It is now uploaded to LMS.


SVG not supported 6:49pm Mon 9th Sep, ANONYMOUS

Hi The Distinct Platforms problem from lab6 seems to be set up the same way as the midsem exam - the samples are not available to us. Would you be able to make them available? Thanks


SVG not supported 2:50pm Mon 9th Sep, Andrew G.

I would encourage you to make sure you are comfortable with the other techniques. In particular, try implementing it with a stack manually, as all the recursive solution is doing is a trick to use the call stack rather than having to make your own. I...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 12:42pm Fri 6th Sep, Mahit G.

update, recession seems to work properly in everything but just getting max depth error in the largest cases, is there a way to still do top down through recursion then?


SVG not supported 12:20pm Fri 6th Sep, Mahit G.

I tried this problem using top down approach(recursion), it worked on smaller test cases and failed on bigger, another thing was that it was giving me (answer-1) for bigger test cases, I read the hints and tried the bottom up with Kahn's and it works...


SVG not supported 6:54pm Mon 2nd Sep, ANONYMOUS

Much appreciated Thank you


SVG not supported 12:08pm Mon 2nd Sep, Andrew G.

Yes, Python has a recursion depth limit that defaults to 1000 in the most common implementation (CPython). This can be adjusted programmatically, but in Python I would generally prefer to just use an iterative implementation. There is no mathematical...


SVG not supported 12:02pm Mon 2nd Sep, Andrew G.

You appear to have misread the problem statement in a couple of ways. Please read it again carefully and see if you can find the parts of the statement that make your solution invalid. I will give you one as a hint, but there is another issue besides ...


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 6:30pm Sat 31st Aug, Mahit G.

I used recursion to solve this problem in my first try, it solved all the test-cases except the last one giving a max recursive depth error, I then used stack and iterative method and seemed to have passed all the cases, after a bit of research(chatg...


SVG not supported 10:41pm Thu 29th Aug, Quang T.

For sample 2 from the pdf 4 5 2 98.67 .S.1. . 4 . 32..5 The time taken for this maze to be solved is 15. As manually solving it, it only takes 14. S- 9 1 9- 8 2 8- 7 4 7- 6 5 6- 5 7 5- 4 9 4- 3 11 3- 2 12 2- 1 14 I don't get into any issues ...


SVG not supported 7:08pm Tue 27th Aug, Andrew G.

ANONYMOUS wrote You will be unsurprised to learn that this is an extant field of study. I am not quite following the "little guy" architecture you are describing, but various models of computation have been studied differentiated by the capabilities a...


SVG not supported 6:17pm Tue 27th Aug, Andrew G.

Details of the Mid-Semester Test including sample questions have been released on LMS. See the Mid-Semester Test (https lms.uwa.edu.au webapps blackboard content listContentEditable.jsp?content id 3978892 1 course id 90614 1 mode reset) link in ...

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