Search:

Type: Posts; User: itispj

Search: Search took 0.16 seconds.

  1. Replies
    2
    Views
    893

    Re: Bucket Sort Help

    it wasn't cross posted if you read my last post. My last post stated i didn't know how to create the algorithm. Now i created the algorithm but now I need help finding a way to sort multiple sizes.
  2. Replies
    1
    Views
    1,142

    [SOLVED] Re: Bucket or Bin Sort

    i figured it out.
  3. Replies
    2
    Views
    893

    Bucket Sort Help

    So, this is what I've got down so far with my BucketSort.java I created two buckets, master bucket and sub buckets[10].


    Ask user to enter integers from 0 - 9999
    Take user input and add to...
  4. Replies
    2
    Views
    401

    [SOLVED] Re: convert int to String

    yeah, slipped my mind haha. thanks!
  5. Replies
    2
    Views
    401

    [SOLVED] convert int to String

    for(int i = 0; i < mBucket.size(); i++)
    {
    c = (String) mBucket.get(0);
    a = Integer.toString(c);
    }

    mBucket is an arrayList and what the for loop...
  6. Replies
    1
    Views
    1,142

    [SOLVED] Bucket or Bin Sort

    I'm trying to figure out how to create a BucketSort program, but I keep running into speed bumps. So far... I've created two arrayList

    public static ArrayList mBucket = new ArrayList();//master...
  7. Replies
    3
    Views
    1,477

    [SOLVED] Re: Looping through ArrayList to remove elements

    thank you for the responses but i figured it out.

    what i was doing wrong was as i was looping through the array, i was indeed removing the element at position i but that also changed the size of...
  8. Replies
    3
    Views
    1,477

    [SOLVED] Looping through ArrayList to remove elements

    I'm creating a binsort program and I ran into a problem. I created a ArrayList bucket and asked the user to input values. Let's say it has elements [1, 2, 3, 4, 5, 6, 7] and I'm using a for loop to...
Results 1 to 8 of 8