Contagious Allocation

Hello guys.. Im new at java and i need help.. Can u give me any source code a program of contagious allocation. Here's the programs flow..

**Input**

Enter Number of Holes: 6

13K7K23K21K15K18K

Enter Allocation Size: 8

**Output**

First Fit: 13K- Allocate the first hole that is big enough.

Best Fit: 12K-Allocate the smallest hole that is big enough.

Worst Fit: 23K-Allocate the largest hole..

Tnx guys.. Hope that you could help me ASAP...

--Yukes--

[517 byte] By [Yukesa] at [2007-11-26 17:20:53]
# 1
Hi,What have you done so far? What's the problem? I don't think that anyone here wants to do your homework.Kaj
kajbja at 2007-7-8 23:48:54 > top of Java-index,Java Essentials,New To Java...
# 2
yes!
javanewbie404a at 2007-7-8 23:48:54 > top of Java-index,Java Essentials,New To Java...