It's UWAweek 47

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?
10 articles posted by this person
Showing 10 of 202 articles.
Currently 6 other people reading this forum.


 UWA week 44 (2nd semester, 1st exam week) ↓
SVG not supported 7:08pm Wed 30th Oct, Mahit G.

I can't seem to understand the difference between q-learning and utility learning clearly, I know that q learning means learning the utility of actions available to a state rather than learning the utility of each state(util learning). But when it com...


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 5:09pm Mon 7th Oct, Mahit G.

Hi Max, thanks for the reply, I have submitted the new code, I was wondering if it gets replaced by my previous code for marking purposes?


SVG not supported 1:00am Mon 7th Oct, Mahit G.

I have already got the correct answer for a question but I think I have a better version of the answer which is much less lines of code, am I still allowed to test and resubmit my code to see if it runs?


 UWA week 37 (2nd semester, week 7) ↓
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...


 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...


 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...


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 1:36am Thu 22nd Aug, Mahit G.

Just curious, can count sort handle negative numbers, if so how cause we only leaned how to make an array from 0 to n and even if i think about it, I can't think of a way to implement an array which accounts for -ve ints as we are only making an arra...


 UWA week 32 (2nd semester, week 3) ↓
SVG not supported 2:34pm Tue 6th Aug, Mahit G.

https leetcode.com discuss general-discussion 1083445 how-quick-sort-works-and-the-problems-that-can-be-solved-using-partition-logic very interesting resource if you need an example to understand.


 UWA week 31 (2nd semester, week 2) ↓
SVG not supported 3:11pm Thu 1st Aug, Mahit G.

I am able to get the correct answer however, when it comes to bigger input, my code still takes more than 5 seconds, I think this could be because I'm converting each element in an int first running a loop through it, correct me if I'm wrong.

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