The naive solution most 1917 student's would give would probably be sort it then take the median as you are doing. Just bare in mind in computing it is never the first solution that comes in mind that is the most efficient, you will learn this if you take further comp courses in unsw.
1. Given a linked list, find the k-th element from the end, using only ONE single pass.
For example, 1->2->3->4->5->X, the 0th element from the end is 5, 1st element from the end is 4 etc.
It's one of the easier COMP subjects and one of the most useful. The assignments will be a shell-perl/shell/python compiler that translates say perl -> python (or some other permutation). The second assignment is usually a website, when I took the course we did a website like "twitter"
You'll...
Re: MATH1131 help thread
Even in that case it's still better to do 1917 if you're concerned about marks. It's always better to do higher versions of any course at Uni if you're gunning for a solid mark.
Re: MATH1131 help thread
You're missing out on a wonderful way to see things leehuan is 1917
The courses is probably one of the most useful first year courses in UNSW.
Re: MATH1131 help thread
http://www.handbook.unsw.edu.au/undergraduate/programs/2016/3945.html
"12. Progression to Stages 2, 3, and 4 of this program is subject to academic performance. Students will be required to attain a minimum weighted average mark (WAM) of 70 in each semester. If a...
Re: MATH1131 help thread
If you need more past papers, not sure how long your book goes up to, I take the course many many years ago, I can scoop up some older 08-09-10 ones possibly if you need extra practice.