redslert
yes, my actual brain
I don't know about the lecturer you guys have now, but in 05s2 the java assignments were never difficult but it was made difficult because the course was badly taught.
Agreed. Once i actually research and learn what we're actually meant to do (ie. what shouldve been taught in lectures), i find the assignments pretty simple. I guess for those that haven't learnt java its a little hard to start since they dont teach java syntax at all.redslert said:I don't know about the lecturer you guys have now, but in 05s2 the java assignments were never difficult but it was made difficult because the course was badly taught.
New syllabuses, just like how we did 10 google questions but they do 0.redslert said:We never did huffman for 05s2, is this something for higher?
We do two types of compression in this current assignment, huffman and splaying. The splaying method doesnt count the bytes in a file.gman03 said:New syllabuses, just like how we did 10 google questions but they do 0.
I like Liv Zempel '77 and '78 and the one used for GIF87 & 89 because you don't actually have to count all the alphabets before you generate codewords.. I never really understood adaptive-huffman coding...
they cheated using wikipedia(since the ppl on the course board seem crazily brainy and are already finished)
thank you soo much!!!acmilan said:It compares them automatically using a function in the BinaryTreeNode class called compareTo. All you need to do is add the nodes into the priorityqueue and it automatically sorts them by weight. The only functions you need for the priorityqueue are add(node), poll() and size(). Calling the poll() function will pull the node with the least weight out of the priorityqueue.
They haven't bother to change this course because they are dropping it entirely, this will be the last year this course will be offered.underthesun said:But when I had this course last year, it was the worst I've ever had anyways. There were so many complains you'd think they're going to revamp the course, but it looks like from your replies that they didn't.
It actually turned out to be ok, sort of fun :S I'm glad they let us write it from scratch, much more better than their restrictive templates.redslert said:Looks fun.
That's of course because I don't have to do it.
and it is a Richard-style page.Welcome to COMP1921 - aka "Data Structures and Algorithms"
aka "COMP2011" aka "COMP2091" aka "That Course"