TranceAddict Forums

TranceAddict Forums (www.tranceaddict.com/forums)
- Chill Out Room
-- Java Assignment - HELP!!


Posted by UglyDave on Oct-30-2003 08:35:

Java Assignment - HELP!!

Any help with how to approach this would be really appreciated!!
Due in in 6.5 hours!!

Write a version of Selection Sort that uses a look-up table to record the sorted order of the items rather than physically rearranging the items. This algorithm produces an array of sorted indices into original array. For example



The original unsorted array is unchanged but a new array indicating sort order based on original array indices is produced. To implement this, the best approach would be to create a new class based on the existing IntArray class available on the module website and provide new properties and override existing methods to utilise the new lookup table where necessary.


the IntArray class is one which contains an array, some methods which print the array, fill it with trandom data etc..


David


Posted by UglyDave on Oct-30-2003 10:54:

ur all fuckin useless!!


j/k

i really love u all very much


Posted by chojin on Oct-30-2003 15:32:

should not have left till 6 hr deadline :/

p.s i proly be needing java hlp at some point, hope u lot r more helpful to me.


Posted by Mr Game+Watch on Oct-30-2003 15:40:

Ohhh man... Selection Sort, Quicksort, Hash Sort, Mergesort... fun fun shit. I'll be damned if I remember any of the details of them from 2 years ago... :P

http://www.cs.ubc.ca/spider/harriso...rting-demo.html

Take a look at this page, it may be of some use to you.


Posted by `pr0digy on Oct-30-2003 15:43:

I'm in a Java class atm... My one month of Java (taken at a high school) won't do much for ya, sorry.


Posted by irishclubbing on Oct-30-2003 15:47:

are you at uni Dave ?


Posted by UglyDave on Oct-30-2003 15:47:

not to worry, i handed it up anyways
it was shite, but i'll pass.. i used to be soo damn 1337 too

pills must be making more stupider


Posted by igottaknow on Oct-30-2003 15:48:

ru familiar with java sorting algorithms?

University of Ugly?
vvvvvvvvvvvvvvvvvvvv


Posted by UglyDave on Oct-30-2003 15:48:

quote:
Originally posted by theb
are you at uni Dave ?


yeah, in University Of Ulster - Magee / Derry

ur from Derry aint ya? by chance are u sitting next to me??


Posted by irishclubbing on Oct-30-2003 15:56:

Na mate Lisburn. I go to QUB


Posted by UglyDave on Oct-30-2003 15:58:

Queens is just that one bit more prestigeous

ah well, i'll just say that i was offered a place there, but choose to stay closer to home instead

QUB / Trinity.. all the great ones.. they all wanted my ass..


Posted by irishclubbing on Oct-30-2003 16:01:

quote:
Originally posted by UglyDave
Queens is just that one bit more prestigeous

ah well, i'll just say that i was offered a place there, but choose to stay closer to home instead

QUB / Trinity.. all the great ones.. they all wanted my ass..


mummy's boy then


Posted by UglyDave on Oct-30-2003 16:05:

quote:
Originally posted by theb
mummy's boy then


fond of the home comforts boy

well, i was in Dublin for 2 years, but that's shit expencive. by coming up here, i'm saving about �8k / year (well, my Da is)

Dublin's nice, but too expencive, and full of little scumbag knackers with syringes

knackers with syringes

love to kick them all in the nuts


Posted by irishclubbing on Oct-30-2003 17:07:

quote:
Originally posted by UglyDave
fond of the home comforts boy

well, i was in Dublin for 2 years, but that's shit expencive. by coming up here, i'm saving about �8k / year (well, my Da is)

Dublin's nice, but too expencive, and full of little scumbag knackers with syringes

knackers with syringes

love to kick them all in the nuts


there will be a lot of them at godskitchen !!


Posted by Intense_Sounds on Oct-31-2003 09:34:

java is such a high-level language.

you won't have to touch that shit again after learning the basics because its all built into the API.



Powered by: vBulletin
Copyright © 2000-2021, Jelsoft Enterprises Ltd.